Part Number Hot Search : 
CQYP95 SKIIP2 SIT1532 T74FC FA15C TFR315C ENN7385 NME4809
Product Description
Full Text Search
 

To Download DSPIC33FJ256GP306IPTES Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2005 microchip technology inc. preliminary ds70155c dspic33f product overview dspic ? dsc high-performance 16-bit digital signal controllers
ds70155c-page ii preliminary ? 2005 microchip technology inc. information contained in this publication regarding device applications and the like is provi ded only for your convenience and may be superseded by updates. it is your responsibility to ensure that your application m eets with your specifications. microchip makes no representations or war- ranties of any kind whether express or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fitness for purpose . microchip disclaims all liability arising from this information and its use. use of microchip?s products as critical components in life support systems is not authorized except with express written approval by microchip. no licenses are conveyed, implicitly or otherwise, under any microchip intellectual property rights. trademarks the microchip name and logo, the microchip logo, accuron, dspic, k ee l oq , micro id , mplab, pic, picmicro, picstart, pro mate, powersmart, rfpic, and smartshunt are registered trademarks of micr ochip technology incorporated in the u.s.a. and other countries. amplab, filterlab, migratable memory, mxdev, mxlab, picmaster, seeval, smartsensor and the embedded control solutions company are registered trademarks of microchip technology incorporated in the u.s.a. analog-for-the-digital age, app lication maestro, dspicdem, dspicdem.net, dspicworks, ecan, economonitor, fansense, flexrom, fuzzylab, in-circuit serial programming, icsp, icepic, linear active thermistor, mpasm, mplib, mplink, mpsim, pickit, picdem, picdem.net, piclab, pictail, powercal, powerinfo, powermate, powertool, rflab, rfpicdem, select mode, smart serial, smarttel, total endurance and wiperlock are trademarks of microchip tec hnology incorporated in the u.s.a. and other countries. sqtp is a service mark of mi crochip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2005, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. note the following details of the code protection feature on microchip devices: ? microchip products meet the specification cont ained in their particular microchip data sheet. ? microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. ? there are dishonest and possibly illegal methods used to breach the code protection feature. all of these methods, to our knowledge, require using the microchip produc ts in a manner outside the operating specif ications contained in microchip?s data sheets. most likely, the person doing so is engaged in theft of intellectual property. ? microchip is willing to work with the customer who is concerned about the integrity of their code. ? neither microchip nor any other semiconductor manufacturer c an guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ?unbreakable.? code protection is constantly evolving. we at microchip are co mmitted to continuously improvi ng the code protection features of our products. attempts to break microchip?s c ode protection feature may be a violation of the digital millennium copyright act. if such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that act. microchip received iso/ts-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona and mountain view, california in october 2003. the company?s quality system processes and procedures are for its picmicro ? 8-bit mcus, k ee l oq ? code hopping devices, serial eeproms, microperipherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development systems is iso 9001:2000 certified.
? 2005 microchip technology inc. preliminary ds70155c-page 1 dspic33f operating range ? dc ? 40 mips (40 mips @ 3.0-3.6v, -40 to +85c) ? industrial temperature range (-40 to +85c) high-performance dsc cpu ? modified harvard architecture ? c compiler optimized instruction set ? 16-bit wide data path ? 24-bit wide instructions ? linear program memory addressing up to 4m instruction words ? linear data memory addressing up to 64 kbytes ? 84 base instructions: mostly 1 word/1 cycle ? sixteen 16-bit general purpose registers ? two 40-bit accumulators: - with rounding and saturation options ? flexible and powerful addressing modes: - indirect, modulo and bit-reversed ? software stack ? 16 x 16 fractional/integer multiply operations ? 32/16 and 16/16 divide operations ? single-cycle multiply-and-accumulate: - accumulator write back for dsp operations - dual data fetch ? up to +/- 16-bit shifts, for up to 40-bit data direct memory access (dma) ? 8-channel hardware dma ? allows data transfer between ram and a peripheral while cpu is executing code (no cycle stealing) ? 2 kb of dual-ported dma buffer area (dma ram) to store data transferred via dma ? most peripherals support dma interrupt controller ? 5-cycle latency ? 117 interrupt vectors ? up to 67 available interrupt sources, up to 5 external interrupts ? 7 programmable priority levels ? 5 processor exceptions digital i/o ? up to 85 programmable digital i/o pins ? wake-up/interrupt-on-change on up to 24 pins ? output pins can drive from 3.0v to 3.6v ? all digital input pins are 5v tolerant ? 4 ma sink and source on all i/o pins on-chip flash and sram ? flash program memory, up to 256 kbytes ? data sram (up to 30 kbytes): - includes 2 kb of dma ram system management ? flexible clock options: - external, crystal, resonator, internal rc - fully integrated pll - extremely low jitter pll ? power-up timer ? oscillator start-up timer/stabilizer ? watchdog timer with its own rc oscillator ? fail-safe clock monitor ? reset by multiple sources power management ? on-chip 2.5v voltage regulator ? switch between clock sources in real time ? idle, sleep and doze modes with fast wake-up dspic33f high-performance 16-bit digital signal controller product overview
dspic33f ds70155c-page 2 preliminary ? 2005 microchip technology inc. timers/capture/compare/pwm ? timer/counters: up to nine 16-bit timers: - can pair up to make four 32-bit timers - 1 timer runs as real-time clock with external 32 khz oscillator - programmable prescaler ? input capture (up to 8 channels): - capture on up, down or both edges - 16-bit capture input functions - 4-deep fifo on each capture ? output compare (up to 8 channels): - single or dual 16-bit compare mode - 16-bit glitchless pwm mode communication modules ? 3-wire spi? (up to 2 modules): - framing supports i/o interface to simple codecs - supports 8-bit and 16-bit data - supports all serial clock formats and sampling modes - 8-word fifo buffers ?i 2 c? (up to 2 modules): - full multi-master slave mode support - 7-bit and 10-bit addressing - bus collision detection and arbitration - integrated signal conditioning -address masking ? uart (up to 2 modules): - interrupt-on-address bit detect - wake-up-on-start bit from sleep mode - 4-character tx and rx fifo buffers - lin bus support -irda ? encoding and decoding in hardware - high-speed baud mode ? data conversion interface (dci) module: - codec interface - supports i 2 s and ac?97 protocols - up to 16-bit data words, up to 16 words per frame - 4-word deep tx and rx buffers ? enhanced can 2.0b active (up to 2 modules): - up to 8 transmit and up to 16 receive buffers - 16 receive filters and 3 masks - loopback, listen only and listen all messages modes for diagnostics and bus monitoring - wake-up on can message - fifo mode using dma motor control peripherals ? motor control pwm (up to 8 channels): - 4 duty cycle generators - independent or complementary mode - programmable dead time and output polarity - edge or center-aligned - manual output override control - up to 2 fault inputs - trigger for a/d conversions - pwm frequency for 16-bit resolution (@ 40 mips) = 1220 hz for edge-aligned mode, 610 hz for center-aligned mode - pwm frequency for 11-bit resolution (@ 40 mips) = 39.1 khz for edge-aligned mode, 19.55 khz for center-aligned mode ? quadrature encoder interface module: - phase a, phase b and index pulse input - 16-bit up/down position counter - count direction status - position measurement (x2 and x4) mode - programmable digital noise filters on inputs - alternate 16-bit timer/counter mode - interrupt on position counter rollover/ underflow analog-to-digital converters ? up to two 10-bit or 12-bit a/d modules in a device ? 10-bit 2.2 msps or 12-bit 1 msps conversion: - 2 or 4 simultaneous samples - up to 32 input channels with auto-scanning - 16-deep result buffer - conversion start can be manual or synchronized with 1 of 4 trigger sources - conversion possible in sleep mode - 1 lsb max integral nonlinearity - 1 lsb max differential nonlinearity cmos flash technology ? low-power, high-speed flash technology ? fully static design ? 3.3v (+/- 10%) operating voltage ? industrial temperature ? low-power consumption packaging: ? 100-pin tqfp (14x14x1 mm and 12x12x1 mm) ? 80-pin tqfp (12x12x1 mm) ? 64-pin tqfp (10x10x1 mm) note: see table 1-1 and table 1-2 for exact peripheral features per device.
? 2005 microchip technology inc. preliminary ds70155c-page 3 dspic33f 1.0 dspic33f product families 1.1 general purpose family the dspic33f general purpose family (table 1-1) is ideal for a wide variety of 16-bit mcu embedded applications. the variants with codec interfaces are well-suited for audio applications. table 1-1: dspic33f general purpose family variants device pins program flash memory (kb) ram (1) (kb) timer 16-bit input capture output compare std. pwm codec interface a/d converter uart spi? i 2 c? can i/o pins (max) (2) packages 33fj64gp206 64 64 8 9 8 8 1 1 a/d, 18 ch 221053 pt 33fj64gp306 64 64 16 9 8 8 1 1 a/d, 18 ch 222053 pt 33fj64gp310 100 64 16 9 8 8 1 1 a/d, 32 ch 222085 pf, pt 33fj64gp706 64 64 16 9 8 8 1 2 a/d, 18 ch 222253 pt 33fj64gp708 80 64 16 9 8 8 1 2 a/d, 24 ch 222269 pt 33fj64gp710 100 64 16 9 8 8 1 2 a/d, 32 ch 222285 pf, pt 33fj128gp206 64 128 8 9 8 8 1 1 a/d, 18 ch 221053 pt 33fj128gp306 64 128 16 9 8 8 1 1 a/d, 18 ch 222053 pt 33fj128gp310 100 128 16 9 8 8 1 1 a/d, 32 ch 222085 pf, pt 33fj128gp706 64 128 16 9 8 8 1 2 a/d, 18 ch 222253 pt 33fj128gp708 80 128 16 9 8 8 1 2 a/d, 24 ch 222269 pt 33fj128gp710 100 128 16 9 8 8 1 2 a/d, 32 ch 222285 pf, pt 33fj256gp506 64 256 16 9 8 8 1 1 a/d, 18 ch 222153 pt 33fj256gp510 100 256 16 9 8 8 1 1 a/d, 32 ch 222185 pf, pt 33fj256gp710 100 256 30 9 8 8 1 2 a/d, 32 ch 222285 pf, pt note 1: ram size is inclusive of 2 kb dma ram. 2: maximum i/o pin count includes pins shared by the peri pheral functions.
dspic33f ds70155c-page 4 preliminary ? 2005 microchip technology inc. 1.2 motor control family this family of dspic33f controllers (table 1-2) supports a variety of motor control applications, such as brushless dc motors, single and 3-phase induction motors and switched reluctance motors. these products are also well-suited for uninterrupted power supply (ups), inverters, switched mode power supplies, power factor correction and also for controlling the power management module in servers, telecommunication equipment and other industrial equipment. table 1-2: dspic33f motor control and power conversion family variants device pins program flash memory (kb) ram (1) (kb) timer 16-bit input capture output compare std. pwm motor control pwm quadrature encoder interface codec interface a/d converter uart spi? i 2 c? can i/o pins (max) (2) packages 33fj64mc506 64 64 8 9 8 8 8 ch 1 0 1 a/d, 16 ch 222153 pt 33fj64mc508 80 64 8 9 8 8 8 ch 1 0 1 a/d, 18 ch 222169 pt 33fj64mc510 100 64 8 9 8 8 8 ch 1 0 1 a/d, 24 ch 222185 pf, pt 33fj64mc706 64 64 16 9 8 8 8 ch 1 0 2 a/d, 16 ch 222153 pt 33fj64mc710 100 64 16 9 8 8 8 ch 1 0 2 a/d, 24 ch 222285 pf, pt 33fj128mc506 64 128 8 9 8 8 8 ch 1 0 1 a/d, 16 ch 222153 pt 33fj128mc510 100 128 8 9 8 8 8 ch 1 0 1 a/d, 24 ch 222185 pf, pt 33fj128mc706 64 128 16 9 8 8 8 ch 1 0 2 a/d, 16 ch 222153 pt 33fj128mc708 80 128 16 9 8 8 8 ch 1 0 2 a/d, 18 ch 222169 pt 33fj128mc710 100 128 16 9 8 8 8 ch 1 0 2 a/d, 24 ch 222285 pf, pt 33fj256mc510 100 256 16 9 8 8 8 ch 1 0 1 a/d, 24 ch 222185 pf, pt 33fj256mc710 100 256 30 9 8 8 8 ch 1 0 2 a/d, 24 ch 222285 pf, pt note 1: ram size is inclusive of 2 kb dma ram. 2: maximum i/o pin count includes pins shared by the peri pheral functions.
? 2005 microchip technology inc. preliminary ds70155c-page 5 dspic33f product identification system architecture 33 = 16-bit digital signal controller flash memory family fj = flash program memory, 3.3v product group gp2 = general purpose family gp3 = general purpose family gp5 = general purpose family gp7 = general purpose family mc5 = motor control family mc7 = motor control family pin count 06 = 64-pin 08 = 80-pin 10 = 100-pin temperature range i = -40 c to +85 c (industrial) package pt = 10x10 or 12x12 mm tqfp (thin quad flatpack) pf = 14x14 mm tqfp (thin quad flatpack) pattern three-digit qtp, sqtp, code or special requirements (blank otherwise) es = engineering sample examples: a) dspic33fj256gp710i/pt-ps: general purpose dspic33, 64 kb program memory, 100-pin, industrial temp., tqfp package, prototype sample. b) dspic33fj64mc706i/pt-es: motor control dspic33, 64 kb program memory, 64-pin, industrial temp., tqfp package, engineering sample. microchip trademark architecture flash memory family program memory size (kb) product group pin count temperature range package pattern dspic 33 fj 256 gp7 10 t i / pt - xxx tape and reel flag (if applicable)
dspic33f ds70155c-page 6 preliminary ? 2005 microchip technology inc. 2.0 dspic33f device family overview the dspic33f device family employs a powerful 16-bit architecture that seamlessly integrates the control features of a microcontroller (mcu) with the computational capabilities of a digital signal processor (dsp). the resulting functionality is ideal for applications that rely on high-speed, repetitive computations, as well as control. the dsp engine, dual 40-bit accumulators, hardware support for division operations, barrel shifter, 17 x 17 multiplier, a large array of 16-bit working registers and a wide variety of data addressing modes, together provide the dspic33f central processing unit (cpu) with extensive mathematical processing capability. flexible and deterministic interrupt handling, coupled with a powerful array of peripherals, renders the dspic33f devices suitable for control applications. further, direct memory access (dma) enables overhead-free transfer of data between several peripherals and a dedicated dma ram. reliable, field programmable flash program memory ensures scalability of applications that use dspic33f devices. figure 2-1 shows a sample device block diagram typical of the dspic33f product family. figure 2-1: dspic33f device block diagram barrel shifter acca<40> accb<40> dsp engine divide control 17 x 17 multiplier w register array 16 x 16 memory mapped 16-bit alu program flash memory data access y agu x agu program counter <23 bits> instruction prefetch & decode x-data bus <16-bit> y-data bus <16-bit> data sram up to 28 kbytes flash program memory up to 256 kbytes peripherals i/o ports 24 23 legend: mcu/dsp x-data path dsp y-data path address path status register dual port ram 2 kbytes dma controller
? 2005 microchip technology inc. preliminary ds70155c-page 7 dspic33f 3.0 cpu architecture 3.1 overview the dspic33f cpu module has a 16-bit (data) modified harvard architecture with an enhanced instruction set, including significant support for dsp. the cpu has a 24-bit instruction word with a variable length opcode field. the program counter (pc) is 23 bits wide and addresses up to 4m x 24 bits of user program memory space. the actual amount of program memory implemented, as illustrated in figure 3-1, varies from one device to another. a single-cycle instruction prefetch mechanism is used to help maintain throughput and provides predictable execution. all instructions execute in a single cycle, with the exception of instructions that change the program flow, the double word move ( mov.d ) instruction and the table instructions. overhead-free program loop constructs are supported using the do and repeat instructions, both of which are interruptible at any point. the dspic33f devices have sixteen 16-bit working registers in the programmer?s model. each of the working registers can serve as a data, address or address offset register. the 16th working register (w15) operates as a software stack pointer (sp) for interrupts and calls. the dspic33f instruction set has two classes of instructions: the mcu class of instructions and the dsp class of instructions. these two instruction classes are seamlessly integrated into a single cpu. the instruction set includes many addressing modes and is designed for optimum c compiler efficiency. 3.1.1 data memory overview the data space can be addressed as 32k words or 64 kbytes and is split into two blocks, referred to as x and y data memory. each memory block has its own independent address generation unit (agu). the mcu class of instructions operates solely through the x memory agu, which accesses the entire memory map as one linear data space. certain dsp instructions operate through the x and y agus to support dual operand reads, which splits the data address space into two parts. the x and y data space boundary is device specific. the upper 32 kbytes of the data space memory map can optionally be mapped into program space at any 16k program word boundary defined by the 8-bit program space visibility page (psvpag) register. the program-to-data space mapping feature lets any instruction access program space as if it were data space. the data space includes 2 kbytes of dma ram, which is primarily used for dma data transfers, but may be used as general purpose ram. figure 3-1: program space memory map reset ? target address user memory space 000000 0000fe reserved 000002 000100 device configuration user flash program memory 02ac00 02abfe configuration memory space osc. fail trap vector address error trap vector stack error trap vector math error trap vector dma error vector reserved vector interrupt vector table (87296 x 24-bit) 800000 f80000 registers (12 x 8-bit) f80016 f80018 fffffe f7fffe reserved 000014 vector reset ? goto instruction 000004 reserved 7ffffe reserved 000200 0001fe 000104 alternate vector table reserved ta b l e s reserved vector device id (2 x 16-bit) reserved fefffe ff0000 ff0002 ff0004
dspic33f ds70155c-page 8 preliminary ? 2005 microchip technology inc. 3.1.2 addressing modes overview overhead-free circular buffers (modulo addressing) are supported in both x and y address spaces. the modulo addressing removes the software boundary checking overhead for dsp algorithms. furthermore, the x agu circular addressing can be used with any of the mcu class of instructions. the x agu also supports bit-reversed addressing to greatly simplify input or output data reordering for radix-2 fft algorithms. the cpu supports inherent (no operand), relative, literal, memory direct, register direct and register indirect addressing modes. each instruction is associated with a predefined addressing mode group depending upon its functional requirements. as many as 6 addressing modes are supported for each instruction. for most instructions, the dspic33f is capable of executing a data (or program data) memory read, a working register (data) read, a data memory write and a program (instruction) memory read per instruction cycle. as a result, three parameter instructions can be supported, allowing a + b = c operations to be executed in a single cycle. 3.1.3 dsp engine overview the dsp engine features a high-speed, 17-bit by 17-bit multiplier, a 40-bit alu, two 40-bit saturating accumulators and a 40-bit bidirectional barrel shifter. the barrel shifter is capable of shifting a 40-bit value, up to 16 bits right or left, in a single cycle. the dsp instructions operate seamlessly with all other instructions and have been designed for optimal real- time performance. the mac instruction and other associated instructions can concurrently fetch two data operands from memory while multiplying two w registers and accumulating and optionally saturating the result in the same cycle. this instruction functionality requires that the ram memory data space be split for these instructions and linear for all others. data space partitioning is achieved in a transparent and flexible manner through dedicating certain working registers to each address space. 3.1.4 special mcu features the dspic33f features a 17-bit by 17-bit, single-cycle multiplier that is shared by both the mcu alu and dsp engine. the multiplier can perform signed, unsigned and mixed-sign multiplication. using a 17-bit by 17-bit multiplier for 16-bit by 16-bit multiplication not only allows you to perform mixed-sign multiplication, it also achieves accurate results for special operations such as (-1.0) x (-1.0). the dspic33f supports 16/16 and 32/16 divide operations, both fractional and integer. all divide instructions are iterative operations. they must be executed within a repeat loop, resulting in a total execution time of 19 instruction cycles. the divide operation can be interrupted during any of those 19 cycles without loss of data. a 40-bit barrel shifter is used to perform up to a 16-bit left or right shift in a single cycle. the barrel shifter can be used by both mcu and dsp instructions. 3.1.5 interrupt overview the dspic33f has a vectored exception scheme with up to 5 sources of non-maskable traps and 67 interrupt sources. each interrupt source can be assigned to one of seven priority levels. 3.1.6 features to enhance compiler efficiency in addition to extensive dsp capability, the cpu architecture possesses several features that lead to a more efficient (code size and speed) c compiler. 1. for most instructions, three-parameter instruc- tions can be supported, allowing a + b = c operations to be executed in a single cycle. 2. instruction addressing modes are extremely flexible to meet compiler needs. 3. the working register array consists of 16 x 16-bit registers, each of which can act as data, address or offset registers. one working register (w15) operates as the software stack pointer for interrupts and calls. 4. linear indirect access of all data space is possible, plus the memory direct address range is up to 8 kbytes. this capability, together with the addition of 16-bit direct address mov -based instructions, has provided a contiguous linear addressing space. 5. linear indirect access of 32k word (64 kbyte) pages within program space is possible, using any working register via new table read and write instructions. 6. part of data space can be mapped into program space, allowing constant data to be accessed as if it were in data space.
? 2005 microchip technology inc. preliminary ds70155c-page 9 dspic33f 3.2 programmer?s model the programmer?s model, shown in figure 3-2, consists of 16 x 16-bit working registers (w0 through w15), 2 x 40-bit accumulators (acca and accb), status register (sr), data table page register (tblpag), program space visibility page register (psvpag), do and repeat registers (dostart, doend, dcount and rcount) and program counter (pc). the working registers can act as data, address or offset registers. all registers are memory mapped. w0 is the w register for all instructions that perform file register addressing. some of these registers have a shadow register associated with them (see the legend in figure 3-2). the shadow register is used as a temporary holding register and can transfer its contents to or from its host register upon some event occurring in a single cycle. none of the shadow registers are accessible directly. when a byte operation is performed on a working register, only the least significant byte of the target register is affected. however, a benefit of memory mapped working registers is that both the least and most significant bytes can be manipulated through byte-wide data memory space accesses. w15 is the dedicated software stack pointer (sp). it is automatically modified by exception processing and subroutine calls and returns. however, w15 can be referenced by any instruction in the same manner as all other w registers. this simplifies the reading, writing and manipulation of the stack pointer (e.g., creating stack frames). w14 has been dedicated as a stack frame pointer, as defined by the lnk and ulnk instructions. however, w14 can be referenced by any instruction in the same manner as all other w registers. the stack pointer always points to the first available free word and grows from lower addresses towards higher addresses. it pre-decrements for stack pops (reads) and post-increments for stack pushes (writes).
dspic33f ds70155c-page 10 preliminary ? 2005 microchip technology inc. figure 3-2: programmer?s model tabpag 22 0 7 0 0 15 program counter data table page address status register working registers mac operand registers w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12/mac offset w13/mac write back w14/frame pointer w15*/stack pointer mac address registers 39 0 31 dsp accumulators acca accb psvpag 7 0 program space visibility page address z oa ob sa sb rcount 15 0 repeat loop counter dcount 15 0 do loop counter dostart 22 0 do loop start address ipl2 ipl1 splim* stack pointer limit register 15 srl push.s shadow do shadow oab sab 15 0 core configuration register legend: corcon da dc ra n tblpag psvpag ipl0 ov w0/wreg srh do loop end address doend 22 c 0 div and mul result registers *w15 and splim not shadowed
? 2005 microchip technology inc. preliminary ds70155c-page 11 dspic33f 3.3 data address space the core has two data spaces, x and y. these data spaces can be considered either separate (for some dsp instructions), or as one unified linear address range (for mcu instructions). the data spaces are accessed using two address generation units (agus) and separate data paths. this feature allows certain instructions to concurrently fetch two words from ram, thereby enabling efficient execution of dsp algorithms such as finite impulse response (fir) filtering and fast fourier transform (fft). 3.3.1 x and y data spaces the x data space is used by all instructions and supports all addressing modes. there are separate read and write data buses for x data space. the x read data bus is the read data path for all instructions that view data space as combined x and y address space. it is also the x data prefetch path for the dual operand dsp instructions ( mac class). the y data space is used in concert with the x data space by the mac class of instructions ( clr, ed, edac, mac, movsac, mpy, mpy.n and msc ) to provide two concurrent data read paths. both the x and y data spaces support modulo addressing for all instructions, subject to addressing mode restrictions. bit-reversed addressing is only supported for writes to x data space. all data memory writes, including in dsp instructions, view data space as combined x and y address space. the boundary between the x and y data spaces is device-dependent (an example is shown in figure 3-3) and is not user-programmable. all effective addresses are 16 bits wide and point to bytes within the data space. therefore, the data space address range is 64 kbytes or 32k words, though the implemented memory locations vary from one device to another. 3.3.2 dma ram every dspic33f device contains 2 kbytes of dma ram located at the end of y data space. memory locations in the dma ram space are accessible simultaneously by the cpu and the dma controller module. dma ram is utilized by the dma controller to store data to be transferred to various peripherals using dma, as well as data transferred from various peripherals using dma. when the cpu and the dma controller attempt to concurrently write to the same dma ram location, the hardware ensures that the cpu is given precedence in accessing the dma ram location. therefore, the dma ram provides a reliable means of transferring dma data without ever having to stall the cpu. 3.3.3 data space width the core data width is 16 bits. all internal registers are organized as 16-bit wide words. data space memory is organized in byte addressable, 16-bit wide blocks. figure 3-3 depicts a sample data space memory map for the dspic33f device with 33 kbytes of ram. 3.3.4 data alignment to help maintain backward compatibility with picmicro ? devices and improve data space memory usage efficiency, the dspic33f instruction set supports both word and byte operations. data is aligned in data memory and registers as words, but all data space eas resolve to bytes. data byte reads will read the complete word which contains the byte, using the least significant bit (lsb) of any ea to determine which byte to select. as a consequence of this byte accessibility, all effective address calculations are internally scaled. for example, the core would recognize that post-modified register indirect addressing mode, [ws++], will result in a value of ws + 1 for byte operations and ws + 2 for word operations. all word accesses must be aligned to an even address. misaligned word data fetches are not supported. should a misaligned read or write be attempted, a trap will then be executed, allowing the system and/or user to examine the machine state prior to execution of the address fault.
dspic33f ds70155c-page 12 preliminary ? 2005 microchip technology inc. figure 3-3: sample data space memory map 0x0000 0x07fe sfr space 0xfffe x data ram (x) least significant byte address 16 bits lsb msb most significant byte address 0x0001 0x07ff 0xffff x data 0x7800 optionally mapped into program memory unimplemented (x) 0x0801 0x0800 2-kbyte sfr space 0x4000 0x3ffe dma ram 0x4001 0x3fff 0x77fe 8-kbyte data space 0x77ff 0x7801 0x7fff 0x7ffe note: this data memory map is for the largest memory dspic33f device. data memory maps for other devices may vary. y data ram (y) 0x8001 0x8000
? 2005 microchip technology inc. preliminary ds70155c-page 13 dspic33f 3.4 dsp engine the dsp engine consists of a high-speed, single- cycle, 17-bit x 17-bit multiplier, a barrel shifter and a 40-bit adder/subtractor with two target accumulators, round and saturation logic, all of which enable efficient execution of computationally intensive dsp algorithms. the 17-bit x 17-bit multiplier is also utilized for mcu-based multiply instructions. the dsp engine also has the capability to perform inherent accumulator-to-accumulator operations, which require no additional data. these instructions are add, sub and neg . this feature greatly simplifies basic arithmetic operations on 32-bit or 40-bit data. a block diagram of the dsp engine is shown in figure 3-4. 3.4.1 17 x 17-bit multiplier the 17 x 17-bit multiplier is capable of signed or unsigned operation. it can suitably scale its output to support either 1.31 fractional (q31) or 32-bit integer results, thereby diminishing the need to manually post-process multiplication results for fractional data. 3.4.2 40-bit accumulators the data accumulators have a 40-bit adder/subtractor with automatic sign extension logic. it can select one of two accumulators (a or b) as its pre-accumulation source and post-accumulation destination. for the add and lac instructions, the data to be accumulated or loaded can be optionally scaled via the barrel shifter prior to accumulation. the adder/subtractor generates overflow status bits, sa/sb and oa/ob, which are latched and reflected in the status register and can also optionally generate an arithmetic error trap: ? overflow from bit 39. this is a catastrophic overflow in which the sign of the accumulator is destroyed. ? overflow into guard bits 32 through 39. this is a recoverable overflow. this bit (oa/ob) is set whenever all the guard bits are not identical to each other. 3.4.3 saturation and overflow the adder has an additional saturation block that controls accumulator data saturation, if selected. it uses the result of the adder, the overflow status bits described above and the user-configured control bits to determine when to saturate and to what value to saturate (a 40-bit or a 32-bit value). in addition to adder/subtractor saturation, writes to data space can also be saturated, but without affecting the contents of the source accumulator. the rounding logic performs a conventional (biased) or convergent (unbiased) data rounding function during an accumulator write (store). the round mode is user- selectable. rounding generates a 16-bit, 1.15 data value, which is passed to the data space write saturation logic. data space write saturation ensures that the data in the accumulator is written back accurately even when rounding is performed. if rounding is not indicated by the instruction, a truncated 1.15 data value is stored and the least significant word is simply discarded.
dspic33f ds70155c-page 14 preliminary ? 2005 microchip technology inc. figure 3-4: dsp engine block diagram zero backfill sign-extend barrel shifter 40-bit accumulator a 40-bit accumulator b round logic x data bus multiplier/scaler to/from w array adder saturate operand latches enable 17-bit negate 32 32 33 16 16 16 16 40 40 40 40 s a t u r a t e y data bus 40 16 40
? 2005 microchip technology inc. preliminary ds70155c-page 15 dspic33f 4.0 direct memory access direct memory access (dma) is a very efficient mechanism of copying data between peripheral sfrs (e.g., uart receive register, input capture 1 buffer) and buffers or variables stored in ram with minimal cpu intervention. the dma controller can automatically copy entire blocks of data, without the user software having to read or write peripheral special function registers (sfrs) every time a peripheral interrupt occurs. to exploit the dma capability, the corresponding user buffers or variables must be located in dma ram space. the dma controller features eight identical data transfer channels, each with its own set of control and status registers. the uart, spi, dci, input capture, output compare, ecan? and a/d modules can utilize dma. each dma channel can be configured to copy data either from buffers stored in dma ram to peripheral sfrs or from peripheral sfrs to buffers in dma ram. each channel supports the following features: ? word or byte-sized data transfers ? transfers from peripheral to dma ram or dma ram to peripheral ? indirect addressing of dma ram locations with or without automatic post-increment ? peripheral indirect addressing ? in some peripherals, the dma ram read/write addresses may be partially derived from the peripheral ? one-shot block transfers ? terminating dma transfer after one block transfer ? continuous block transfers ? reloading dma ram buffer start address after every block transfer is complete ? ping-pong mode ? switching between two dma ram start addresses between successive block transfers, thereby filling two buffers alternately ? automatic or manual initiation of block transfers ? each channel can select from 32 possible sources of data sources or destinations for each dma channel, a dma interrupt request is generated when a block transfer is complete. alternatively, an interrupt can be generated when half of the block has been filled. additionally, a dma error trap is generated in either of the following fault conditions: ? dma ram data write collision between the cpu and a peripheral ? peripheral sfr data write collision between the cpu and the dma controller figure 4-1: top level system architecture using a dedicated transaction bus cpu sram dma ram cpu peripheral ds bus peripheral 3 dma peripheral non-dma sram x-bus port 2 port 1 peripheral 1 dma ready peripheral 2 dma ready ready ready dma ds bus cpu dma cpu dma cpu dma peripheral indirect address note: cpu and dma address buses are not shown for clarity. dma control dma controller channels dma
dspic33f ds70155c-page 16 preliminary ? 2005 microchip technology inc. 5.0 exception processing the dspic33f has four processor exceptions (traps) and up to 67 sources of interrupts, which must be arbitrated based on a priority scheme. the processor core is responsible for reading the interrupt vector table (ivt) and transferring the address contained in the interrupt vector to the program counter. the interrupt vector table (ivt) and alternate interrupt vector table (aivt) are placed near the beginning of program memory (0x000004) for ease of debugging. the interrupt controller hardware pre-processes the interrupts before they are presented to the cpu. the interrupts and traps are enabled, prioritized and controlled using centralized special function registers. each individual interrupt source has its own vector address and can be individually enabled and prioritized in user software. each interrupt source also has its own status flag. this independent control and monitoring of the interrupt eliminates the need to poll various status flags to determine the interrupt source table 5-1 contains information about the interrupt vector. certain interrupts have specialized control bits for features like edge or level triggered interrupts, interrupt- on-change, etc. control of these features remains within the peripheral module, which generates the interrupt. the special disi instruction can be used to disable the processing of interrupts of priorities 6 and lower for a certain number of instruction cycles, during which the disi bit remains set. table 5-1: interrupt vectors vector number ivt address aivt address interrupt source 8 0x000014 0x000114 int0 ? external interrupt 0 9 0x000016 0x000116 ic1 ? input compare 1 10 0x000018 0x000118 oc1 ? output compare 1 11 0x00001a 0x00011a t1 ? timer1 12 0x00001c 0x00011c dma0 ? dma channel 0 13 0x00001e 0x00011e ic2 ? input capture 2 14 0x000020 0x000120 oc2 ? output compare 2 15 0x000022 0x000122 t2 ? timer2 16 0x000024 0x000124 t3 ? timer3 17 0x000026 0x000126 spi1e ? spi1 error 18 0x000028 0x000128 spi1d ? spi1 transfer done 19 0x00002a 0x00012a u1rx ? uart1 receiver 20 0x00002c 0x00012c u1tx ? uart1 transmitter 21 0x00002e 0x00012e adc1 ? a/d converter 1 22 0x000030 0x000130 dma1 ? dma channel 1 23 0x000032 0x000132 reserved 24 0x000034 0x000134 i2c1d ? i2c1 transfer done 25 0x000036 0x000136 i2c1e ? i2c1 bus collision error 26 0x000038 0x000138 reserved 27 0x00003a 0x00013a change notification interrupt 28 0x00003c 0x00013c int1 ? external interrupt 1 29 0x00003e 0x00013e adc2 ? a/d converter 2 30 0x000040 0x000140 ic7 ? input capture 7 31 0x000042 0x000142 ic8 ? input capture 8 32 0x000044 0x000144 dma2 ? dma channel 2 33 0x000046 0x000146 oc3 ? output compare 3 34 0x000048 0x000148 oc4 ? output compare 4 35 0x00004a 0x00014a t4 ? timer4 36 0x00004c 0x00014c t5 ? timer5 37 0x00004e 0x00014e int2 ? external interrupt 2 38 0x000050 0x000150 u2rx ? uart2 receiver 39 0x000052 0x000152 u2tx ? uart2 transmitter
? 2005 microchip technology inc. preliminary ds70155c-page 17 dspic33f 40 0x000054 0x000154 spi2e ? spi2 error 41 0x000056 0x000156 spi1d ? spi1 transfer done 42 0x000058 0x000158 c1rx ? ecan1 receive data ready 43 0x00005a 0x00015a c1 ? can1 event 44 0x00005c 0x00015c dma3 ? dma channel 3 45 0x00005e 0x00015e ic3 ? input capture 3 46 0x000060 0x000160 ic4 ? input capture 4 47 0x000062 0x000162 ic5 ? input capture 5 48 0x000064 0x000164 ic6 ? input capture 6 49 0x000066 0x000166 oc5 ? output compare 5 50 0x000068 0x000168 oc6 ? output compare 6 51 0x00006a 0x00016a oc7 ? output compare 7 52 0x00006c 0x00016c oc8 ? output compare 8 53 0x00006e 0x00016e reserved 54 0x000070 0x000170 dma4 ? dma channel 4 55 0x000072 0x000172 t6 ? timer6 56 0x000074 0x000174 t7 ? timer7 57 0x000076 0x000176 i2c2d ? i2c2 transfer done 58 0x000078 0x000178 i2c2e ? i2c2 bus collision error 59 0x00007a 0x00017a t8 ? timer8 60 0x00007c 0x00017c t9 ? timer9 61 0x00007e 0x00017e int3 ? external interrupt 3 62 0x000080 0x000180 int4 ? external interrupt 4 63 0x000082 0x000182 c2rx ? ecan2 receive data ready 64 0x000084 0x000184 c2 ? can2 event 65 0x000086 0x000186 pwm ? pwm period match 66 0x000088 0x000188 qei ? position counter compare 67 0x00008a 0x00018a dcie ? dci error 68 0x00008c 0x00018c dcid ? dci transfer done 69 0x00008e 0x00018e dma5 ? dma channel 5 70 0x000090 0x000190 rtc ? real-time clock 71 0x000092 0x000192 flta ? mcpwm fault a 72 0x000094 0x000194 fltb ? mcpwm fault b 73 0x000096 0x000196 u1e ? uart1 error 74 0x000098 0x000198 u2e ? uart2 error 75 0x00009a 0x00019a reserved 76 0x00009c 0x00019c dma6 ? dma channel 6 77 0x00009e 0x00019e dma7 ? dma channel 7 78 0x0000a0 0x0001a0 c1tx ? ecan1 transmit data request reserved (for devices marked ?ps?) 79 0x0000a2 0x0001a2 c2tx ? ecan2 transmit data request reserved (for devices marked ?ps?) 80-125 0x0000a4- 0x0000fe 0x0001a4- 0x0001fe reserved table 5-1: interrupt vectors (continued) vector number ivt address aivt address interrupt source
dspic33f ds70155c-page 18 preliminary ? 2005 microchip technology inc. 5.1 interrupt priority each interrupt source can be user-assigned to one of 8 priority levels, 0 through 7. levels 7 and 1 represent the highest and lowest maskable priorities, respectively. a priority level of 0 disables the interrupt. since more than one interrupt request source may be assigned to a user-specified priority level, a means is provided to assign priority within a given level. this method is called ?natural order priority?. the natural order priority of an interrupt is numerically identical to its vector number. the natural order priority scheme has 0 as the highest priority and 74 as the lowest priority. the ability for the user to assign every interrupt to one of eight priority levels implies that the user can assign a very high overall priority level to an interrupt with a low natural order priority, thereby providing much flexibility in designing applications that use a large number of peripherals. 5.2 interrupt nesting interrupts, by default, are nestable. any isr that is in progress may be interrupted by another source of interrupt with a higher user-assigned priority level. interrupt nesting may be optionally disabled by setting the nstdis control bit (intcon1<15>). when the nstdis control bit is set, all interrupts in progress will force the cpu priority to level 7 by setting ipl<2:0> = 111 . this action will effectively mask all other sources of interrupt until a retfie instruction is executed. when interrupt nesting is disabled, the user-assigned interrupt priority levels will have no effect, except to resolve conflicts between simultaneous pending interrupts. the ipl<2:0> bits become read-only when interrupt nesting is disabled. this prevents the user software from setting ipl<2:0> to a lower value, which would effectively re-enable interrupt nesting. 5.3 traps traps can be considered as non-maskable, nestable interrupts that adhere to a fixed priority structure. traps are intended to provide the user a means to correct erroneous operation during debug and when operating within the application. if the user does not intend to take corrective action in the event of a trap error condition, these vectors must be loaded with the address of a software routine that will reset the device. otherwise, the trap vector is programmed with the address of a service routine that will correct the trap condition. the dspic33f has four implemented sources of non-maskable traps: ? oscillator failure trap ? address error trap ? stack error trap ? math error trap ?dma trap many of these trap conditions can only be detected when they happen. consequently, the instruction that caused the trap is allowed to complete before exception processing begins. therefore, the user may have to correct the action of the instruction that caused the trap. each trap source has a fixed priority as defined by its position in the ivt. an oscillator failure trap has the highest priority, while an arithmetic error trap has the lowest priority. table 5-2 contains information about the trap vector. 5.4 generating a software interrupt any available interrupt can be manually generated by user software (even if the corresponding peripheral is disabled), simply by enabling the interrupt and then setting the interrupt flag bit when required. table 5-2: trap vectors vector number ivt addres s aivt address trap source 0 0x000004 0x000084 reserved 1 0x000006 0x000086 oscillator failure 2 0x000008 0x000088 address error 3 0x00000a 0x00008a stack error 4 0x00000c 0x00008c math error 5 0x00000e 0x00008e dma error trap 6 0x000010 0x000090 reserved 7 0x000012 0x000092 reserved
? 2005 microchip technology inc. preliminary ds70155c-page 19 dspic33f 6.0 system integration system management services provided by the dspic33f device family include: ? control of clock options and oscillators ? power-on reset ? oscillator start-up timer/stabilizer ? watchdog timer with rc oscillator ? fail-safe clock monitor ? reset by multiple sources 6.1 clock options and oscillators there are 7 clock options provided by the dspic33f: ? frc oscillator ? frc oscillator with pll ? primary (xt, hs or ec) oscillator ? primary oscillator with pll ? secondary (lp) oscillator ? lprc oscillator the frc (fast rc) internal oscillator runs at a nominal frequency of 7.37 mhz. the user software can tune the frc frequency. user software can specify a factor by which this clock frequency is scaled. the primary oscillator can use one of the following as its clock source: 1. xt (crystal): crystals and ceramic resonators in the range of 3 mhz to 10 mhz. the crystal is connected to the osc1 and osc2 pins. 2. hs (high-speed crystal): crystals in the range of 10 mhz to 40 mhz. the crystal is connected to the osc1 and osc2 pins. 3. ec (external clock): external clock signal in the range of 0.8 mhz to 64 mhz. the external clock signal is directly applied to the osc1 pin. the secondary (lp) oscillator is designed for low power and uses a 32 khz crystal or ceramic resonator. the lp oscillator uses the sosci and sosco pins. the lprc (low-power rc) internal oscillator runs at a nominal frequency of 32.768 khz. another scaled reference clock is used by the watchdog timer (wdt) and fail-safe clock monitor (fscm). the clock signals generated by the frc and primary oscillators can be optionally applied to an on-chip phase locked loop (pll) to provide a wide range of output frequencies for device operation. the input to the pll can be in the range of 1.6 mhz to 16 mhz, and the pll phase detector input divider, pll multiplier ratio and pll voltage controlled oscillator (vco) can be individually configured by user software to generate output frequencies in the range of 25 mhz to 160 mhz. the output of the oscillator (or the output of the pll if a pll mode has been selected) is divided by 4 to generate the device instruction clock (f cy ). f cy defines the operating speed of the device, and speeds up to 40 mhz are supported by the dspic33f architecture. the dspic33f oscillator system provides: ? various external and internal oscillator options as clock sources ? an on-chip pll to scale the internal operating frequency to the required system clock frequency ? the internal frc oscillator can also be used with the pll, thereby allowing full-speed operation without any external clock generation hardware ? clock switching between various clock sources ? programmable clock postscaler for system power savings ? a fail-safe clock monitor (fscm) that detects clock failure and takes fail-safe measures ? a clock control register (osccon) ? nonvolatile configuration bits for main oscillator selection. a simplified block diagram of the oscillator system is shown in figure 6-1.
dspic33f ds70155c-page 20 preliminary ? 2005 microchip technology inc. figure 6-1: oscillator system block diagram 6.2 power-on reset when a supply voltage is applied to the device, a power-on reset is generated. a new power-on reset event is generated if the supply voltage falls below the device threshold voltage (v por ). an internal por pulse is generated when the rising supply voltage crosses the por circuit threshold voltage. 6.3 oscillator start-up timer/stabilizer (ost) an oscillator start-up timer (ost) is included to ensure that a crystal oscillator (or ceramic resonator) has started and stabilized. the ost is a simple, 10-bit counter that counts 1024 t osc cycles before releasing the oscillator clock to the rest of the system. the time- out period is designated as t ost . the t ost time is involved every time the oscillator has to restart (i.e., on power-on reset (por) and wake-up from sleep). the oscillator start-up timer is applied to the lp oscillator, xt and hs modes (upon wake-up from sleep, por and bor) for the primary oscillator. 6.4 watchdog timer (wdt) the primary function of the watchdog timer (wdt) is to reset the processor in the event of a software malfunction. the wdt is a free-running timer that runs off the on-chip lprc oscillator, requiring no external component. the wdt continues to operate even if the main processor clock (e.g., the crystal oscillator) fails. the watchdog timer can be ?enabled? or ?disabled? either through a configuration bit (fwdten) in the configuration register, or through an sfr bit (swdten). any device programmer capable of programming dspic ? dsc devices (such as microchip?s mplab ? pm3 programmer) allows programming of this and other configuration bits to the desired state. if enabled, the wdt increments until it overflows or ?times out?. a wdt time-out forces a device reset (except during sleep). osc1 secondary oscillator 32 khz pll module clock switching and control block osc2 sosco sosci f osc primary osc secondary osc to ti m e r 1 internal fast rc (frc) oscillator internal low-power rc (lprc) oscillator primary oscillator f cy divide by 4
? 2005 microchip technology inc. preliminary ds70155c-page 21 dspic33f 6.5 fail-safe clock monitor (fscm) the fail-safe clock monitor (fscm) allows the device to continue to operate even in the event of an oscillator failure. the fscm function is enabled by programming. if the fscm function is enabled, the lprc internal oscillator runs at all times (except during sleep mode) and is not subject to control by the watchdog timer. in the event of an oscillator failure, the fscm generates a clock failure trap event and switches the system clock over to the frc oscillator. the application program then can either attempt to restart the oscillator, or execute a controlled shutdown. the trap can be treated as a warm reset by simply loading the reset address into the oscillator fail trap vector. 6.6 reset system the reset system combines all reset sources and controls the device master reset signal. device reset sources include: ? por: power-on reset ? bor: brown-out reset ?swr: reset instruction ? extr: mclr reset ? wdtr: watchdog timer time-out reset ? trapr: trap conflict ? iopuwr: attempted execution of an illegal opcode, or indirect addressing, using an uninitialized w register
dspic33f ds70155c-page 22 preliminary ? 2005 microchip technology inc. 7.0 device power management power management services provided by the dspic33f devices include: ? real-time clock source switching ? power-saving modes 7.1 real-time clock source switching configuration bits determine the clock source upon power-on reset (por) and brown-out reset (bor). thereafter, the clock source can be changed between permissible clock sources. the osccon register controls the clock switching and reflects system clock related status bits. to reduce power consumption, the user can switch to a slower clock source. 7.2 power-saving modes the dspic33f devices have two reduced power modes that can be entered through execution of the pwrsav instruction. ? sleep mode: the cpu, system clock source and any peripherals that operate on the system clock source are disabled. this is the lowest power mode of the device. ? idle mode: the cpu is disabled but the system clock source continues to operate. peripherals continue to operate but can optionally be disabled. ? doze mode: the cpu clock is temporarily slowed down relative to the peripheral clock by a user-selectable factor. these modes provide an effective way to reduce power consumption during periods when the cpu is not in use. 7.2.1 sleep mode when the device enters sleep mode: ? system clock source is shut down. if an on-chip oscillator is used, it is turned off. ? device current consumption is at minimum provided that no i/o pin is sourcing current. ? fail-safe clock monitor (fscm) does not operate during sleep mode because the system clock source is disabled. ? lprc clock continues to run in sleep mode if the wdt is enabled. ? bor circuit, if enabled, remains operative during sleep mode ? wdt, if enabled, is automatically cleared prior to entering sleep mode. ? some peripherals may continue to operate in sleep mode. these peripherals include i/o pins that detect a change in the input signal, or peripherals that use an external clock input. any peripheral that is operating on the system clock source is disabled in sleep mode. the processor exits (wakes up) from sleep on one of these events: ? any interrupt source that is individually enabled ? any form of device reset ? a wdt time-out 7.2.2 idle mode when the device enters idle mode: ? cpu stops executing instructions ? wdt is automatically cleared ? system clock source remains active ? peripheral modules, by default, continue to operate normally from the system clock source ? peripherals, optionally, can be shut down in idle mode using their ?stop-in-idle? control bit. ? if the wdt or fscm is enabled, the lprc also remains active the processor wakes from idle mode on these events: ? any interrupt that is individually enabled ? any source of device reset ? a wdt time-out upon wake-up from idle, the clock is re-applied to the cpu and instruction execution begins immediately starting with the instruction following the pwrsav instruction, or the first instruction in the interrupt service routine (isr). 7.2.3 doze mode the doze mode provides the user software the ability to temporarily reduce the processor instruction cycle frequency relative to the peripheral frequency. clock frequency ratios of 1:1, 1:2, 1:4, 1:8, 1:16, 1:32, 1:64 and 1:128 are supported. for example, suppose the device is operating at 20 mips and the can module has been configured for 500 kbps bit rate based on this device operating speed. if the device is now placed in doze mode with a clock frequency ratio of 1:4, the can module will continue to communicate at the required bit rate of 500 kbps, but the cpu now starts executing instructions at a frequency of 5 mips. this feature further reduces the power consumption during periods where relatively less cpu activity is required. when the device is operating in doze mode, the hardware ensures that there is no loss of synchronization between peripheral events and sfr accesses by the cpu.
? 2005 microchip technology inc. preliminary ds70155c-page 23 dspic33f 8.0 dspic33f peripherals the digital signal controller (dsc) family of 16-bit dsc devices provides the integrated functionality of many peripherals. specific peripheral functions include: ? analog-to-digital converters - 10-bit high-speed a/d converter - 12-bit high-resolution a/d converter ? general purpose 16-bit timers ? motor control pwm module ? quadrature encoder interface module ? input capture module ? output compare/pwm module ? data converter interface ? serial peripheral interface (spi?) module ?uart module ?i 2 c? module ? controller area network (can) module ? i/o pins 8.1 analog-to-digital converters the analog-to-digital (a/d) converters provide up to 32 analog inputs with both single-ended and differential inputs. these modules offer on-board sample and hold circuitry. to minimize control loop errors due to finite update times (conversion plus computations), a high-speed low-latency adc is required. in addition, several hardware features have been included in the peripheral interface to improve real-time performance in a typical dsp-based application. ? result alignment options ? automated sampling ? automated channel scanning ? dual port data buffer ? external conversion start control the a/d converter is available in either of the following configurations: ? 10-bit, 1.1 msps a/d module: - 2.2 msps a/d conversion using 2 channels ? 12-bit, 500 ksps a/d module: - 1 msps a/d conversion using 2 channels key features of the a/d module include: ? 10-bit or 12-bit resolution ? unipolar differential sample/hold amplifiers ? up to 32 input channels ? selectable voltage reference sources -external v ref + and v ref - pins available ? 1 lsb max differential nonlinearity (dnl) (3.3v 10%) ? 1 lsb max integral nonlinearity (inl) (3.3v 10%) ? up to 4 on-chip sample and hold amplifiers in each a/d - enables simultaneous sampling of 2, 4 or 8 analog inputs ? automated channel scanning ? single-supply operation: 3.0-3.6v ? 2.2 msps or 1 msps sampling rate at 3.0v ? ability to convert during cpu sleep and idle modes ? conversion start can be manual or synchronized with 1 of 4 trigger sources (automatic, timer3, external interrupt, pwm period match) ? a/d can use dma for buffer storage ? lower and upper half of buffer can be filled on alternate conversions 8.2 general purpose timer modules the general purpose (gp) timer modules provide the time base elements for input capture and output compare/pwm. they can be configured for real-time clock operation as well as various timer/counter modes. the timer modes count pulses of the internal time base, whereas counter modes count external pulses that appear on the timer clock pin. the dspic33f device supports up to nine 16-bit timers (timer1 through timer9). eight of the 16-bit timers can be configured as four 32-bit timers (timer2/3, timer4/5, timer6/7 and timer8/9). each timer has several selectable operating modes. 8.2.1 timer1 the timer1 module (figure 8-1) is a 16-bit timer that can serve as the time counter for an asynchronous real- time clock, or operate as a free-running interval timer/ counter. the 16-bit timer has the following modes: ?16-bit timer ? 16-bit synchronous counter ? 16-bit asynchronous counter further, the following operational characteristics are supported: ? timer gated by external pulse ? selectable prescaler settings ? timer operation during cpu idle and sleep modes ? interrupt on 16-bit period register match or falling edge of external gate signal timer1, when operating in real-time clock (rtc) mode, provides time of day and event time-stamping capabilities. key operational features of the rtc are: ? operation from 32 khz lp oscillator ? 8-bit prescaler ?low power ? real-time clock interrupts
dspic33f ds70155c-page 24 preliminary ? 2005 microchip technology inc. figure 8-1: 16-bit time r1 module block diagram 8.2.2 timer2/3 the timer2/3 module is a 32-bit timer (which can be configured as two 16-bit timers) with selectable operating modes. these timers are used by other peripheral modules, such as: ? input capture ? output compare/simple pwm timer2/3 has the following modes: ? two independent 16-bit timers (timer2 and timer3) with timer and synchronous counter modes ? single 32-bit timer ? single 32-bit synchronous counter further, the following operational characteristics are supported: ? adc conversion start trigger ? 32-bit timer gated by external pulse ? selectable prescaler settings ? timer counter operation during idle and sleep modes ? interrupt on a 32-bit period register match ? timer2/3 can use dma for buffer storage 8.2.3 timer4/5, timer6/7, timer8/9 the timer4/5, timer6/7 and timer8/9 modules are similar in operation to the timer2/3 module. differences include: ? these modules do not support the adc event trigger feature ? these modules can not be used by other peripheral modules, such as input capture and output compare 8.3 motor control pwm module the motor control pwm (mcpwm) module simplifies the task of generating multiple, synchronized pulse- width modulated outputs. in particular, the following power and motion control applications are supported: ? three-phase ac induction motor ? switched reluctance (sr) motor ? brushless dc (bldc) motor ? uninterrupted power supply (ups) ton sync sosci sosco/ pr1 t1if equal comparator x 16 tmr1 reset lposcen event flag 1 0 tsync q qd ck tgate tckps<1:0> prescaler 1, 8, 64, 256 2 tgate t cy 1 0 t1ck tcs 1 x 0 1 tgate 0 0 gate sync
? 2005 microchip technology inc. preliminary ds70155c-page 25 dspic33f the pwm module has the following features: ? dedicated time base supports t cy /2 pwm edge resolution ? two output pins (pair) for each pwm generator ? complementary or independent operation for each output pin pair ? hardware dead-time generators for complementary mode ? output pin polarity defined by nonvolatile device configuration bits ? multiple output modes: - edge-aligned mode - center-aligned mode - center-aligned mode with double updates - single event mode ? manual override register for pwm output pins ? hardware fault input pins with programmable function ? trigger for synchronizing a/d samples and conversions to pwm timing ? each output pin associated with the pwm can be individually enabled 8.3.1 pwm time base the pwm time base is provided by a 15-bit timer with a prescaler and postscaler. the pwm time base can be configured for four different modes of operation: ? free-running mode ? single-shot mode ? continuous up/down count mode ? continuous up/down count mode with interrupts for double updates the up/down counting modes support center-aligned pwm generation. the single-shot mode allows the pwm module to support pulse control of certain electronically commutated motors (ecms). table 8-1 lists the frequencies and resolutions that can be attained as a function of the dspic33f device instruction cycle frequency. table 8-1: example pwm frequencies and resolutions, 1:1 prescaler t cy (f cy ) ptper value pwm resolution pwm frequency* 25 ns (40 mhz) 0x7fff 16 bits 1220 hz 25 ns (40 mhz) 0x03ff 11 bits 39.1 khz 50 ns (20 mhz) 0x7fff 16 bits 610 hz 50 ns (20 mhz) 0x01ff 10 bits 39.1 khz 100 ns (10 mhz) 0x7fff 16 bits 305 hz 100 ns (10 mhz) 0x00ff 9 bits 39.1 khz 200 ns (5 mhz) 0x7fff 16 bits 153 hz 200 ns (5 mhz) 0x007f 8 bits 39.1 khz * pwm frequencies will be 1/2 the value indicated for center-aligned operation.
dspic33f ds70155c-page 26 preliminary ? 2005 microchip technology inc. figure 8-2: 8-output pwm module block diagram pdc4 pdc4 buffer pwmcon1 ptper buffer pwmcon2 ptper ptmr comparator comparator channel 4 dead-time generator and ptcon sevtcmp comparator special event trigger fltbcon ovdcon pwm enable and mode sfrs pwm manual control sfr channel 3 dead-time generator and channel 2 dead-time generator and pwm generator #3 pwm generator #2 pwm generator #4 sevtdir ptdir dtcon1 dead-time control sfrs special event postscaler pwm1l pwm1h pwm2l pwm2h pwm3l pwm3h pwm generator #1 channel 1 dead-time generator and note: details of pwm generator #1, #2 and #3 are not shown for clarity. 16-bit data bus pwm4l pwm4h dtcon2 fltacon fault pin control sfrs pwm time base output driver block fltb flta override logic override logic override logic override logic
? 2005 microchip technology inc. preliminary ds70155c-page 27 dspic33f 8.4 quadrature encoder interface (qei) module quadrature encoders (also referred to as incremental encoders or optical encoders) are used in position and speed detection of rotating motion systems. quadrature encoders enable closed-loop control of many motor control applications, such as switched reluctance (sr) motor and ac induction motor (acim). typically, three outputs termed, phase a, phase b and index, provide information that can be decoded to provide information on the movement of the motor shaft, including distance and direction. a quadrature decoder captures the phase signals and index pulse and converts the information into a numeric count of the position pulses. generally, the count will increment when the shaft is rotating one direction and decrement when the shaft is rotating in the other direction. the qei module (figure 8-3) includes: ? three input pins for two phase signals and index pulse ? programmable digital noise filters on inputs ? quadrature decoder providing counter pulses and count direction ? 16-bit up/down position counter ? count direction status ? x2 and x4 count resolution ? two modes of position counter reset ? general purpose16-bit timer/counter mode ? interrupts generated by qei or counter events figure 8-3: quadrature encoder interface block diagram 16-bit up/down counter comparator/ max count register quadrature programmable digital filter qea programmable digital filter indx 1 up/down existing pin logic updn 3 encoder programmable digital filter qeb interface logic qeim<2:0> mode select 3 (poscnt) (maxcnt) pcdout qeiif event flag reset equal 2 t cy 1 0 tqcs tqckps<1:0> 2 1, 8, 64, 256 prescaler q q d ck tqgate qeim<2:0> synchronize det 1 0 sleep input 0 1 updn_src qeicon<11> zero detect 0
dspic33f ds70155c-page 28 preliminary ? 2005 microchip technology inc. 8.5 input capture module the input capture module is useful in applications requiring frequency (period) and pulse measurement. the dspic33f devices support up to eight input capture channels. the input capture module captures the 16-bit value of the selected time base register when an event occurs at the icx pin. the events that cause a capture event are listed below in three categories: 1. simple capture event modes - capture timer value on every falling edge of input at icx pin - capture timer value on every rising edge of input at icx pin 2. capture timer value on every edge (rising and falling) 3. prescaler capture event modes - capture timer value on every 4th rising edge of input at icx pin - capture timer value on every 16th rising edge of input at icx pin each input capture channel can select between one of two 16-bit timers (timer2 or timer3) for the time base. the selected timer can use either an internal or an external clock. other operational features include: ? device wake-up from capture pin during cpu sleep and idle modes ? interrupt on input capture event ? 4-word fifo buffer for capture values - interrupt optionally generated after 1, 2, 3 or 4 buffer locations are filled ? input capture can also be used to provide additional sources of external interrupts. input capture channels ic1 and ic2 support dma data transfers. 8.6 output compare/pwm module the output compare module features are quite useful in applications that require controlled timing pulses or pwm modulated pulse streams. the output compare module has the ability to compare the value of a selected time base with the value of one or two compare registers (depending on the operation mode selected). furthermore, it has the ability to generate a single output pulse, or a repetitive sequence of output pulses, on a compare match event. like most dspic33f peripherals, it also has the ability to generate interrupts on compare match events. the dspic33f device may have up to eight output compare channels, designated oc1 through oc8. refer to the specific device data sheet for the number of channels available in a particular device. all output compare channels are functionally identical. each output compare channel can use one of two selectable time bases. the time base is selected using the octsel bit (ocxcon<3>). an ?x? in the pin, register or bit name denotes the specific output compare channel. refer to the device data sheet for the specific timers that can be used with each output compare channel number. each output compare module has the following modes of operation: ? single compare match mode ? dual compare match mode generating - single output pulse - continuous output pulses ? simple pulse-width modulation mode - with fault protection input - without fault protection input output compare channels, oc1 and oc2, support dma data transfers. 8.7 data converter interface module the dspic33f data converter interface (dci) module allows simple interfacing to devices such as audio coder/decoders (codecs), a/d converters and d/a converters. the following interfaces are supported: ? framed synchronous serial transfer (single or multi-channel) ? inter-ic sound (i 2 s) interface ? ac-link (ac?97) compliant mode many codecs intended for use in audio applications support sampling rates between 8 khz and 48 khz and use one of the interface protocols listed above. the dci automatically handles the interface timing associated with these codecs. no overhead from the cpu is required until the requested amount of data has been transmitted and/or received by the dci. up to four data words can be transferred between cpu interrupts. the data word length for the dci is programmable up to 16 bits to match the data size of the dspic33f cpu. however, many codecs have data word sizes greater than 16 bits. long data word lengths can be supported by the dci. the dci is configured to transmit/receive the long word in multiple 16-bit time slots. this operation is transparent to the user and the long data word is stored in consecutive register locations.
? 2005 microchip technology inc. preliminary ds70155c-page 29 dspic33f figure 8-4 is a block diagram of the dci module. the dci can support up to 16 time slots in a data frame for a maximum frame size of 256 bits. there are control bits for each time slot in the data frame that determine whether the dci will transmit/receive during the time slot. the dci module supports dma data transfers. figure 8-4: dci module block diagram 8.8 spi? module the serial peripheral interface (spi) module is a synchronous serial interface for communicating with other peripheral or microcontroller devices such as serial eeproms, shift registers, display drivers, a/d converters, etc. it is compatible with motorola ? spi and siop interfaces. this spi module includes all spi modes. a frame synchronization mode is also included for support of voice band codecs. four pins make up the serial interface: sdi, serial data input; sdo, serial data output; sck, shift clock input or output; ss , active-low slave select, which also serves as the fsync (frame synchronization pulse). a device set up as an spi master provides the serial communication clock signal on its sck pin. a series of 8 or 16 clock pulses (depending on mode) shift out the 8 or 16 bits (depending on whether a byte or word is being transferred) and simultaneously shift in 8 or 16 bits of data from the sdi pin. an interrupt is generated when the transfer is complete. slave select synchronization allows selective enabling of spi slave devices, which is particularly useful when a single master is connected to multiple slaves. the spi1 and spi2 modules support dma data transfers. bcg control bits 16-bit data bus sample rate generator csckd cofsd dci buffer frame synchronization generator control unit dci shift register receive buffer registers w/shadow f osc /4 word size selection bits frame length selection bits dci mode selection bits csck cofs csdi csdo 15 0 transmit buffer registers w/shadow
dspic33f ds70155c-page 30 preliminary ? 2005 microchip technology inc. 8.9 uart module the uart is a full-duplex asynchronous system that can communicate with peripheral devices, such as personal computers, rs-232 and rs-485 interfaces. the dspic33f devices have one or more uarts. the key features of the uart module are: ? full-duplex operation with 8 or 9-bit data ? even, odd or no parity options (for 8-bit data) ? one or two stop bits ? fully integrated baud rate generator (brg) with 16-bit prescaler ? baud rates range from up to 10 mbps and down to 38 hz at 40 mips ? 4-character deep transmit data buffer ? 4-character deep receive data buffer ? parity, framing and buffer overrun error detection ?full irda ? support, including hardware encoding and decoding of irda ? messages ? lin bus support - auto wake-up from sleep or idle mode on start bit detect - auto-baud detection - break character support ? support for interrupt on address detect (9th bit = 1 ) ? separate transmit and receive interrupts - on transmission of 1 or 4 characters - on reception of 1, 3 and 4 characters ? loopback mode for diagnostics the uart1 and uart2 modules support dma data transfers. 8.10 i 2 c? module the i 2 c module is a synchronous serial interface, useful for communicating with other peripheral or microcontroller devices. these peripheral devices may be serial eeproms, shift registers, display drivers, a/d converters, etc. the inter-integrated circuit (i 2 c) module offers full hardware support for both slave and multi-master operations. the key features of the i 2 c module are: ?i 2 c slave operation supports 7 and 10-bit address ?i 2 c master operation supports 7 and 10-bit address ?i 2 c port allows bidirectional transfers between master and slaves ? serial clock synchronization for i 2 c port can be used as a handshake mechanism to suspend and resume serial transfer (serial clock stretching) ?i 2 c supports multi-master operation; detects bus collision and will arbitrate accordingly ? slew rate control for 100 khz and 400 khz bus speeds in i 2 c mode, pin scl is clock and pin sda is data. the module will override the data direction bits for these pins. 8.11 controller area network (can) module the controller area network (can) module is a serial interface useful for communicating with other can modules or microcontroller devices. this interface/ protocol was designed to allow communications within noisy environments. the can module is a communication controller implementing the can 2.0 a/b protocol, as defined in the bosch specification. the module supports can 1.2, can 2.0a, can2.0b passive and can 2.0b active versions of the protocol. details of these protocols can be found in the bosch can specification. the can module features: ? implementation of the can protocol can 1.2, can 2.0a and can 2.0b ? standard and extended data frames ? data lengths of 0-8 bytes ? programmable bit rate up to 1 mbit/sec ? automatic response to remote frames ? up to 16 receive buffers in dma ram ? fifo buffer mode (up to 64 messages deep) ? 16 full (standard/extended identifier) acceptance filters ? 3 full acceptance filter masks ? up to 8 transmit buffers in dma ram ? dma can be used for transmission and reception ? programmable wake-up functionality with integrated low-pass filter ? programmable loopback mode supports self-test operation ? signaling via interrupt capabilities for all can receiver and transmitter error states ? programmable clock source ? programmable link to timer module for time-stamping and network synchronization ? low-power sleep and idle mode the can bus module consists of a protocol engine and message buffering/control. the can protocol engine handles all functions for receiving and transmitting messages on the can bus. messages are transmitted by first loading the appropriate data registers. status and errors can be checked by reading the appropriate registers. any message detected on the can bus is checked for errors and then matched against filters to see if it should be received and stored in one of the receive registers.
? 2005 microchip technology inc. preliminary ds70155c-page 31 dspic33f 8.12 i/o pins some pins for the i/o pin functions are multiplexed with an alternate function for the peripheral features on the device. in general, when a peripheral is enabled, that pin may not be used as a general purpose i/o pin. all i/o port pins have three registers directly associated with the operation of the port pin. the data direction register determines whether the pin is an input or an output. the port data latch register provides latched output data for the i/o pins. the port register provides visibility of the logic state of the i/o pins. reading the port register provides the i/o pin logic state, while writes to the port register write the data to the port data latch register. i/o port pins have latch bits (port data latch register). this register, when read, yields the contents of the i/o latch and when written, modifies the contents of the i/o latch, thus modifying the value driven out on a pin if the corresponding data direction register bit is configured for output. this can be used in read-modify-write instructions that allow the user to modify the contents of the port data latch register, regardless of the status of the corresponding pins. the i/o pins have the following features: ? schmitt trigger input ? cmos output drivers ? weak internal pull-up all i/o pins configured as digital inputs can accept 5v signals. this provides a degree of compatibility with external signals of different voltage levels. however, all digital outputs and analog pins can only generate voltage levels up to 3.6v. the input change notification module gives dspic33f devices the ability to generate interrupt requests to the processor in response to a change of state on selected input pins. this module is capable of detecting input changes of state, even in sleep mode, when the clocks are disabled. there are up to 24 external signals (cn0 through cn23) that can be selected (enabled) for generating an interrupt request on a change of state. each of the cn pins also has an optional weak pull-up feature.
dspic33f ds70155c-page 32 preliminary ? 2005 microchip technology inc. 9.0 dspic33f instruction set 9.1 introduction the dspic33f instruction set provides a broad suite of instructions which supports traditional microcontroller applications, and a class of instructions which supports math-intensive applications. since almost all of the functionality of the picmicro ? mcu instruction set has been maintained, this hybrid instruction set allows a friendly dsp migration path for users already familiar with the picmicro microcontroller. 9.2 instruction set overview the dspic33f instruction set contains 84 instructions which can be grouped into the ten functional categories shown in table 9-1. table 9-2 defines the symbols used in the instruction summary tables, table 9-3 through table 9-12. these tables define the syntax, description, storage and execution requirements for each instruction. storage requirements are repre- sented in 24-bit instruction words and execution requirements are represented in instruction cycles. most instructions have several different addressing modes and execution flows which require different instruction variants. for instance, there are six unique add instructions and each instruction variant has its own instruction encoding. table 9-1: dspic33f instruction groups 9.2.1 multi-cycle instructions as the instruction summary tables show, most instructions execute in a single cycle with the following exceptions: ? instructions do, mov.d, pop.d, push.d, tblrdh, tblrdl, tblwth and tblwtl require 2 cycles to execute. ? instructions divf, div.s, div.u are single- cycle instructions, which should be executed 18 consecutive times as the target repeat instruction. ? instructions that change the program counter also require 2 cycles to execute, with the extra cycle executed as a nop . skip instructions, which skip over a 2-word instruction, require 3 instruction cycles to execute with 2 cycles executed as a nop . ?the retfie, retlw and return are special cases of instructions that change the program counter. these execute in 3 cycles unless an exception is pending, and then they execute in 2 cycles. 9.2.2 multi-word instructions as the instruction summary tables show, almost all instructions consume one instruction word (24 bits), with the exception of the call, do and goto instructions, which are flow instructions listed in table 9-9. these instructions require two words of memory because their opcodes embed large literal operands. functional group summary table move instructions table 9-3 math instructions table 9-4 logic instructions table 9-5 rotate/shift instructions table 9-6 bit instructions table 9-7 compare/skip instructions table 9-8 program flow instructions table 9-9 shadow/stack instructions table 9-10 control instructions table 9-11 dsp instructions table 9-12 note: instructions that access program memory as data, using program space visibility, incur some cycle count overhead.
? 2005 microchip technology inc. preliminary ds70155c-page 33 dspic33f table 9-2: symbols used in summary tables symbol description # literal operand designation acc accumulator a or accumulator b awb accumulator write back bit4 4-bit wide bit position (0:15) expr absolute address, label or expression (resolved by the linker) f file register address lit1 1-bit literal (0:1) lit4 4-bit literal (0:15) lit5 5-bit literal (0:31) lit8 8-bit literal (0:255) lit10 10-bit literal (0:255 for byte mode, 0:1023 for word mode) lit14 14-bit literal (0:16383) lit16 16-bit literal (0:65535) lit23 23-bit literal (0:8388607) slit4 signed 4-bit literal (-8:7) slit6 signed 6-bit literal (-16:16) slit10 signed 10-bit literal (-512:511) slit16 signed 16-bit literal (-32768:32767) tos top-of-stack wb base working register wd destination working register (direct and indirect addressing) wm, wn working register divide pair (dividend, divisor) wm*wm working register multiplier pair (same source register) wm*wn working register multiplier pair (different source registers) wn both source and destination working register (direct addressing) wnd destination working register (direct addressing) wns source working register (direct addressing) wreg default working register ws source working register (direct and indirect addressing) wx source addressing mode and working register for x data bus prefetch wxd destination working register for x data bus prefetch wy source addressing mode and working register for y data bus prefetch wyd destination working register for y data bus prefetch
dspic33f ds70155c-page 34 preliminary ? 2005 microchip technology inc. table 9-3: move instructions assembly syntax description words cycles exch wns,wnd swap wns and wnd 1 1 mov f {,wreg} move f to destination 1 1 mov wreg,f move wreg to f 1 1 mov f,wnd move f to wnd 1 1 mov wns,f move wns to f 1 1 mov.b #lit8,wnd move 8-bit literal to wnd 1 1 mov #lit16,wnd move 16-bit literal to wnd 1 1 mov [ws+slit10],wnd move [ws + signed 10-bit offset] to wnd 1 1 mov wns,[wd+slit10] move wns to [wd + signed 10-bit offset] 1 1 mov ws,wd move ws to wd 1 1 mov.d ws,wnd move double ws to wnd:wnd + 1 1 2 mov.d wns,wd move double wns:wns + 1 to wd 1 2 swap wn wn = byte or nibble swap wn 1 1 tblrdh ws,wd read high program word to wd 1 2 tblrdl ws,wd read low program word to wd 1 2 tblwth ws,wd write ws to high program word 1 2 tblwtl ws,wd write ws to low program word 1 2 note: when the optional {,wreg} operand is specified, the destination of the instruction is wreg. when {,wreg} is not specified, the destination of the instruction is the file register f. note: table 9-3 through table 9-12 present the base instructi on syntax for the dspic33f. these instructions do not include all of the available addressing modes. for example, some instructions show the byte addressing mode and others do not.
? 2005 microchip technology inc. preliminary ds70155c-page 35 dspic33f table 9-4: math instructions assembly syntax description words cycles add f {,wreg} destination = f + wreg 1 1 add #lit10,wn wn = lit10 + wn 1 1 add wb,#lit5,wd wd = wb + lit5 1 1 add wb,ws,wd wd = wb + ws 1 1 addc f {,wreg} destination = f + wreg + (c) 1 1 addc #lit10,wn wn = lit10 + wn + (c) 1 1 addc wb,#lit5,wd wd = wb + lit5 + (c) 1 1 addc wb,ws,wd wd = wb + ws + (c) 1 1 daw.b wn wn = decimal adjust wn 1 1 dec f {,wreg} destination = f ? 1 1 1 dec ws,wd wd = ws ? 1 1 1 dec2 f {,wreg} destination = f ? 2 1 1 dec2 ws,wd wd = ws ? 2 1 1 div.s wm,wn signed 16/16-bit integer divide * 118 div.sd wm,wn signed 32/16-bit integer divide * 118 div.u wm,wn unsigned 16/16-bit integer divide * 118 div.ud wm,wn unsigned 32/16-bit integer divide * 118 divf wm,wn signed 16/16-bit fractional divide * 118 inc f {,wreg} destination = f + 1 1 1 inc ws,wd wd = ws + 1 1 1 inc2 f {,wreg} destination = f + 2 1 1 inc2 ws,wd wd = ws + 2 1 1 mul f w3:w2 = f * wreg 1 1 mul.ss wb,ws,wnd {wnd + 1,wnd} = sign(wb) * sign(ws) 1 1 mul.su wb,#lit5,wnd {wnd + 1,wnd} = sign(wb) * unsign(lit5) 1 1 mul.su wb,ws,wnd {wnd + 1,wnd} = sign(wb) * unsign(ws) 1 1 mul.us wb,ws,wnd {wnd + 1,wnd} = unsign(wb) * sign(ws) 1 1 mul.uu wb,#lit5,wnd {wnd + 1,wnd} = unsign(wb) * unsign(lit5) 1 1 mul.uu wb,ws,wnd {wnd + 1,wnd} = unsign(wb) * unsign(ws) 1 1 se ws,wnd wnd = sign-extended ws 1 1 sub f {,wreg} destination = f ? wreg 1 1 sub #lit10, wn wn = wn ? lit10 1 1 sub wb,#lit5,wd wd = wb ? lit5 1 1 sub wb,ws,wd wd = wb ? ws 1 1 subb f {,wreg} destination = f ? wreg ? (c) 1 1 subb #lit10, wn wn = wn ? lit10 ? (c) 1 1 subb wb,#lit5,wd wd = wb ? lit5 ? (c )11 subb wb,ws,wd wd = wb ? ws ? (c )11 subbr f {,wreg} destination = wreg ? f ? (c )11 subbr wb,#lit5,wd wd = lit5 ? wb ? (c )11 subbr wb,ws,wd wd = ws ? wb ? (c )11 subr f {,wreg} destination = wreg ? f 1 1 subr wb,#lit5,wd wd = lit5 ? wb 1 1 subr wb,ws,wd wd = ws ? wb 1 1 ze ws,wnd wnd = zero-extended ws 1 1 * divide instructions are interruptible on a cycle-by-cycle basis. also, divide instructions must be accompanied by a repeat instruction, which adds 1 extra cycle.
dspic33f ds70155c-page 36 preliminary ? 2005 microchip technology inc. table 9-5: logic instructions assembly syntax description words cycles and f {,wreg} destination = f .and. wreg 1 1 and #lit10,wn wn = lit10 .and. wn 1 1 and wb,#lit5,wd wd = wb .and. lit5 1 1 and wb,ws,wd wd = wb .and. ws 1 1 clr f f = 0x0000 1 1 clr wreg wreg = 0x0000 1 1 clr wd wd = 0x0000 1 1 com f {,wreg} destination = f 11 com ws,wd wd = ws 11 ior f {,wreg} destination = f .ior. wreg 1 1 ior #lit10,wn wn = lit10 .ior. wn 1 1 ior wb,#lit5,wd wd = wb .ior. lit5 1 1 ior wb,ws,wd wd = wb .ior. ws 1 1 neg f {,wreg} destination = f + 1 1 1 neg ws,wd wd = ws + 1 1 1 setm f f = 0xffff 1 1 setm wreg wreg = 0xffff 1 1 setm wd wd = 0xffff 1 1 xor f {,wreg} destination = f .xor. wreg 1 1 xor #lit10,wn wn = lit10 .xor. wn 1 1 xor wb,#lit5,wd wd = wb .xor. lit5 1 1 xor wb,ws,wd wd = wb .xor. ws 1 1 note: when the optional {,wreg} operand is specified, the destination of the instruction is wreg. when {,wreg} is not specified, the destination of the instruction is the file register f.
? 2005 microchip technology inc. preliminary ds70155c-page 37 dspic33f table 9-6: rotate/shift instructions table 9-7: bit instructions assembly syntax description words cycles asr f {,wreg} destination = arithmetic right shift f 1 1 asr ws,wd wd = arithmetic right shift ws 1 1 asr wb,#lit4,wnd wnd = arithmetic right shift wb by lit4 1 1 asr wb,wns,wnd wnd = arithmetic right shift wb by wns 1 1 lsr f {,wreg} destination = logical right shift f 1 1 lsr ws,wd wd = logical right shift ws 1 1 lsr wb,#lit4,wnd wnd = logical right shift wb by lit4 1 1 lsr wb,wns,wnd wnd = logical right shift wb by wns 1 1 rlc f {,wreg} destination = rotate left through carry f 1 1 rlc ws,wd wd = rotate left through carry ws 1 1 rlnc f {,wreg} destination = rotate left (no carry) f 1 1 rlnc ws,wd wd = rotate left (no carry) ws 1 1 rrc f {,wreg} destination = rotate right through carry f 1 1 rrc ws,wd wd = rotate right through carry ws 1 1 rrnc f {,wreg} destination = rotate right (no carry) f 1 1 rrnc ws,wd wd = rotate right (no carry) ws 1 1 sl f {,wreg} destination = left shift f 1 1 sl ws,wd wd = left shift ws 1 1 sl wb,#lit4,wnd wnd = left shift wb by lit4 1 1 sl wb,wns,wnd wnd = left shift wb by wns 1 1 note: when the optional {,wreg} operand is specified, the destination of the instruction is wreg. when {,wreg} is not specified, the destination of the instruction is the file register f. assembly syntax description words cycles bclr f,#bit4 bit clear f 1 1 bclr ws,#bit4 bit clear ws 1 1 bset f,#bit4 bit set f 1 1 bset ws,#bit4 bit set ws 1 1 bsw.c ws,wb write c bit to ws 1 1 bsw.z ws,wb write s z bit to ws 1 1 btg f,#bit4 bit toggle f 1 1 btg ws,#bit4 bit toggle ws 1 1 btst f,#bit4 bit test f 1 1 btst.c ws,#bit4 bit test ws to c 1 1 btst.z ws,#bit4 bit test ws to sz 1 1 btst.c ws,wb bit test ws to c 1 1 btst.z ws,wb bit test ws to sz 1 1 btsts f,#bit4 bit test f then set f 1 1 btsts.c ws,#bit4 bit test ws to c then set ws 1 1 btsts.z ws,#bit4 bit test ws to sz then set ws 1 1 fbcl ws,wnd find bit change from left (msb) side 1 1 ff1l ws,wnd find first one from left (msb) side 1 1 ff1r ws,wnd find first one from right (lsb) side 1 1 note: bit positions are specified by bit4 (0:15) for word operations.
dspic33f ds70155c-page 38 preliminary ? 2005 microchip technology inc. table 9-8: compare/skip instructions assembly syntax description words cycles btsc f,#bit4 bit test f, skip if clear 1 1 (2 or 3) btsc ws,#bit4 bit test ws, skip if clear 1 1 (2 or 3) btss f,#bit4 bit test f, skip if set 1 1 (2 or 3) btss ws,#bit4 bit test ws, skip if set 1 1 (2 or 3) cp f compare (f ? wreg) 1 1 cp wb,#lit5 compare (wb ? lit5) 1 1 cp wb,ws compare (wb ? ws) 1 1 cp0 f compare (f ? 0x0000) 1 1 cp0 ws compare (ws ? 0x0000) 1 1 cpb f compare with borrow (f ? wreg ? c )11 cpb wb,#lit5 compare with borrow (wb ? lit5 ? c )11 cpb wb,ws compare with borrow (wb ? ws ? c )11 cpseq wb,wn compare wb with wn, skip if equal (wb = wn) 1 1 (2 or 3) cpsgt wb,wn signed compare wb with wn, skip if greater than (wb > wn) 1 1 (2 or 3) cpslt wb,wn signed compare wb with wn, skip if less than (wb < wn) 1 1 (2 or 3) cpsne wb,wn signed compare wb with wn, skip if not equal (wb wn ) 1 1 (2 or 3) note 1: bit positions are specified by bit4 (0:15) for word operations. 2: conditional skip instructions execute in 1 cycle if the skip is not taken, 2 cycles if the skip is taken over a one-word instruction and 3 cycles if the skip is taken over a two-word instruction.
? 2005 microchip technology inc. preliminary ds70155c-page 39 dspic33f table 9-9: program flow instructions assembly syntax description words cycles bra expr branch unconditionally 1 2 bra wn computed branch 1 2 bra c,expr branch if carry (no borrow) 1 1 (2) bra ge,expr branch if greater than or equal 1 1 (2) bra geu,expr branch if unsigned greater than or equal 1 1 (2) bra gt,expr branch if greater than 1 1 (2) bra gtu,expr branch if unsigned greater than 1 1 (2) bra le,expr branch if less than or equal 1 1 (2) bra leu,expr branch if unsigned less than or equal 1 1 (2) bra lt,expr branch if less than 1 1 (2) bra ltu,expr branch if unsigned less than 1 1 (2) bra n,expr branch if negative 1 1 (2) bra nc,expr branch if not carry (borrow) 1 1 (2) bra nn,expr branch if not negative 1 1 (2) bra nov,expr branch if not overflow 1 1 (2) bra nz,expr branch if not zero 1 1 (2) bra oa,expr branch if accumulator a overflow 1 1 (2) bra ob,expr branch if accumulator b overflow 1 1 (2) bra ov,expr branch if overflow 1 1 (2) bra sa,expr branch if accumulator a saturate 1 1 (2) bra sb,expr branch if accumulator b saturate 1 1 (2) bra z,expr branch if zero 1 1 (2) call expr call subroutine 2 2 call wn call indirect subroutine 1 2 do #lit14,expr do code through pc + expr, (lit14 + 1) times 2 2 do wn,expr do code through pc + expr, (wn + 1) times 2 2 goto expr go to address 2 2 goto wn go to address indirectly 1 2 rcall expr relative call 1 2 rcall wn computed call 1 2 repeat #lit14 repeat next instruction (lit14 + 1) times 1 1 repeat wn repeat next instruction (wn + 1) times 1 1 retfie return from interrupt enable 1 3 (2) retlw #lit10,wn return with lit10 in wn 1 3 (2) return return from subroutine 1 3 (2) note 1: conditional branch instructions execute in 1 cycle if the branch is not taken, or 2 cycles if the branch is taken. 2: return normally executes in 3 cycles; however, it executes in 2 cycles if an interrupt is pending.
dspic33f ds70155c-page 40 preliminary ? 2005 microchip technology inc. table 9-10: shadow/stack instructions table 9-11: control instructions table 9-12: dsp instructions assembly syntax description words cycles lnk #lit14 link frame pointer 1 1 pop f pop tos to f 1 1 pop wd pop tos to wd 1 1 pop.d wnd double pop from tos to wnd:wnd + 1 1 2 pop.s pop shadow registers 1 1 push f push f to tos 1 1 push ws push ws to tos 1 1 push.d wns push double wns:wns + 1 to tos 1 2 push.s push shadow registers 1 1 ulnk unlink frame pointer 1 1 assembly syntax description words cycles clrwdt clear watchdog timer 1 1 disi #lit14 disable interrupts for (lit14 + 1) instruction cycles 1 1 nop no operation 1 1 nopr no operation 1 1 pwrsav #lit1 enter power-saving mode lit1 1 1 reset software device reset 1 1 assembly syntax description words cycles add acc add accumulators 1 1 add ws,#slit4,acc 16-bit signed add to acc 1 1 clr acc,wx,wxd,wy,wyd,awb clear acc 1 1 ed wm*wm,acc,wx,wy,wxd euclidean distance (no accumulate) 1 1 edac wm*wm,acc,wx,wy,wxd euclidean distance 1 1 lac ws,#slit4,acc load acc 1 1 mac wm*wn,acc,wx,wxd,wy,wyd,awb multiply and accumulate 1 1 mac wm*wm,acc,wx,wxd,wy,wyd square and accumulate 1 1 movsac acc,wx,wxd,wy,wyd,awb move wx to wxd and wy to wyd 1 1 mpy wm*wn,acc,wx,wxd,wy,wyd multiply wn by wm to acc 1 1 mpy wm*wm,acc,wx,wxd,wy,wyd square to acc 1 1 mpy.n wm*wn,acc,wx,wxd,wy,wyd -(multiply wn by wm) to acc 1 1 msc wm*wn,acc,wx,wxd,wy,wyd,awb multiply and subtract from acc 1 1 neg acc negate acc 1 1 sac acc,#slit4,wd store acc 1 1 sac.r acc,#slit4,wd store rounded acc 1 1 sftac acc,#slit6 arithmetic shift acc by slit6 1 1 sftac acc,wn arithmetic shift acc by (wn) 1 1 sub acc subtract accumulators 1 1
? 2005 microchip technology inc. preliminary ds70155c-page 41 dspic33f 10.0 microchip development tool support microchip offers comprehensive development tools and libraries to support the dspic33f architecture. in addition, the company is partnering with many third party tools manufacturers for additional dspic33f device support. table 10-1 lists development tools that support the dspic33f family. the paragraphs that follow describe each of the tools in more detail. table 10-1: dspic33f development tools development tool description part # from essential software tools mplab ? ide (see section 10.1 mplab inte- grated development environment software ) integrated development environment sw007002 microchip mplab asm30 (see section 10.2 mplab asm30 assembler/linker/librarian ) assembler (included in mplab ide) sw007002 microchip mplab sim (see section 10.3 mplab sim software simulator ) software simulator (included in mplab ide) sw007002 microchip mplab vdi (see section 10.4 mplab visual device initializer ) visual device initializer for dspic33f (included in mplab ide) sw007002 microchip mplab c30 (see section 10.5 mplab c30 c compiler/linker/librarian ) ansi c compiler, assembler, linker and librarian sw006012 microchip essential hardware tools mplab icd 2 (see section 10.6 mplab icd 2 in-circuit debugger ) in-circuit debugger and device programmer dv164005 microchip mplab pm3 (see section 10.7 mplab pm3 universal device programmer ) full-featured device programmer, base unit dv007004 microchip socket module for 100l tqfp devices (14 mm x 14 mm) tbd microchip socket module for 80l tqfp devices (12 mm x 12 mm) tbd microchip socket module for 64l tqfp devices (10 mm x 10 mm) tbd microchip legend: tbd = to be determined
dspic33f ds70155c-page 42 preliminary ? 2005 microchip technology inc. 10.1 mplab integrated development environment software the mplab integrated development environment (ide) is available at no cost. the mplab ide lets the user edit, compile and emulate from a single user interface, as depicted in figure 10-1. code can be designed and developed for the dspic ? dsc devices in the same design environment as the picmicro microcontrollers. the mplab ide is a 32-bit windows ? operating system-based application that provides many advanced features for the demanding engineer in a modern, easy-to-use interface. mplab ide integrates: ? full-featured, color coded text editor ? easy to use project manager with visual display ? source level debugging ? enhanced source level debugging for ?c? (structures, automatic variables, etc.) ? customizable toolbar and key mapping ? dynamic status bar displays processor condition ? context sensitive, interactive on-line help ? integrated mplab sim instruction simulator ? user interface for mplab pm3 and picstart ? plus device programmers (sold separately) ? user interface for mplab icd 2 in-circuit debugger (sold separately) the mplab ide allows: ? editing of source files in either assembly or ?c? ? one-touch compiling and downloading to dspic dsc emulator or simulator ? debugging using: -source files - machine code - mixed mode source and machine code the ability to use the mplab ide with multiple development and debugging targets provides easy transition from the cost-effective simulator to mplab icd 2, or to a full-featured emulator with minimal retraining. figure 10-1: mplab ? ide desktop powerful project manager handles multiple projects and all file types color keyed editor makes source code debug easier status bar updates on single step or run set break/trace points with a click of the mouse fully customizable watch windows to view and modify registers and memory locations simply move your mouse over a variable to view or modify
? 2005 microchip technology inc. preliminary ds70155c-page 43 dspic33f 10.2 mplab asm30 assembler/linker/ librarian mplab asm30 is a full-featured macro assembler. user-defined macros, conditional assembly and a variety of assembler directives make the mplab asm30 a powerful code generation tool. the accompanying mplab link30 linker and mplab lib30 librarian modules allow efficient linking, library creation and maintenance. notable features of the assembler include: ? support for the entire dspic dsc instruction set ? support for fixed-point and floating-point data ? available for windows operating system ? command line interface ? rich directive set ? flexible macro language ? mplab ide compatibility notable features of the linker include: ? automatic or user-defined stack allocation ? supports dspic dsc program space visibility (psv) window ? available for windows operating systems ? command line interface ? linker scripts for all dspic dsc devices ? mplab ide compatibility 10.3 mplab sim software simulator the mplab sim software simulator provides code development for the dspic33f family in a pc-hosted environment by simulating the dspic33f device on an instruction level. on any instruction, you can examine or modify the data areas and apply stimuli to any of the pins from a file or by pressing a user-defined key. the execution can be performed in single-step, execute-until-break or trace mode. the mplab sim software simulator fully supports symbolic debugging using the mplab c30 c compiler and assembler. the software simulator gives you the flexibility to develop and debug code outside of the laboratory environment, making it an excellent multi-project software development tool. complex stimuli can be injected from files, synchronous clocks or user-defined keys. output files log register activity for sophisticated post analysis. besides modeling the behavior of the cpu, mplab sim also supports the following peripherals: 10.4 mplab visual device initializer the mplab visual device initializer (vdi) simplifies the task of configuring the dspic33f. mplab vdi software allows you to configure the entire processor graphically (see figure 10-2). and when you?re done, a mouse click generates your code in assembly or ?c? code. mplab vdi performs extensive error checking on assignments and conflicts on pins, memories and interrupts, as well as selection of operating conditions. generated code files are integrated seamlessly with the rest of our application code through mplab project. detailed resource assignment and configuration reports simplify project documentation. key features of mplab vdi include: ? drag-and-drop feature selection ? one click configuration ? extensive error checking ? generates initialization code in the form of a ?c? callable assembly function ? integrates seamlessly in mplab project ? printed reports ease project documentation requirements ? mplab visual device initializer is an mplab plug-in and can be installed independently of mplab ide figure 10-2: mplab ? vdi display ? timers ? motor control pwm ? input capture ? uart ? 12-bit adc ? i/o ports ? 10-bit adc ? program flash
dspic33f ds70155c-page 44 preliminary ? 2005 microchip technology inc. 10.5 mplab c30 c compiler/linker/ librarian the microchip technology mplab c30 c compiler provides ?c? language support for the dspic33f family. this c compiler is a fully ansi-compliant product with standard libraries. it is highly optimized for the dspic33f family and takes advantage of many dspic33f architecture-specific features to help you generate very efficient software code. figure 10-3 illustrates the code size efficiency relative to several competitors. mplab c30 also provides extensions that allow for excellent support of the hardware, such as interrupts and peripherals. it is fully integrated with mplab ide for high-level source debugging. the mplab c30 has these characteristics: ? 16-bit native data types ? efficient use of register-based, 3-operand instructions ? complex addressing modes ? efficient multi-bit shift operations ? efficient signed/unsigned comparisons mplab c30 comes complete with its own assembler, linker and librarian. these allow mixed mode ?c? and assembly programs and link the resulting object files into a single executable file. the compiler is sold separately. the assembler, linker and librarian are available for free with mplab c30. mplab c30 also includes the math library, peripheral library, dsp library and standard ?c? libraries. figure 10-3: relative code size (in bytes)
? 2005 microchip technology inc. preliminary ds70155c-page 45 dspic33f 10.6 mplab icd 2 in-circuit debugger the mplab icd 2 in-circuit debugger is a powerful, low-cost, run-time development tool that uses in-circuit debugging capability built into the dspic33f flash devices. this feature, along with microchip?s in-circuit serial programming? protocol, gives you cost-effective, in-circuit debugging from the graphical user interface of mplab ide. it lets you develop and debug source code by watching variables, single-stepping and setting breakpoints, as well as running at full speed to test hardware in real time. the mplab icd 2 has these features: ? full-speed operation to the range of the device ? serial or usb pc connector ? usb-powered from pc interface ? low noise power (v pp and v dd ) for use with analog and other noise sensitive applications ? operation down to 2.0v ? can be used as debugger and inexpensive serial programmer ? some device resources required (80 bytes of ram and 2 pins) figure 10-4: mplab ? icd 2 in-circuit debugger 10.7 mplab pm3 universal device programmer the mplab pm3 universal device programmer is easy to use with a pc, or as a stand-alone unit, to program microchip?s entire line of picmicro devices as well as the latest dspic33f dsc devices. the mplab pm3 features a large and bright lcd unit (128 x 64 pixels) to display easy menus, programming statistics and status information. the mplab pm3 programmer has exceptional programming speed for high production throughput, especially important for large memory devices. it also includes a secure digital/multimedia card slot for easy and secure data storage and transfer. the mplab pm3 programmer is designed with 40 programmable socket pins and therefore, each socket module can be configured to support many different devices. as a result, fewer socket modules are required to support the entire line of microchip parts. the socket modules use multi-pin connectors for high reliability and quick interchange. when connected to a pc host system, the mplab pm3 programmer is seamlessly integrated with the mplab integrated development environment (ide), providing a user-friendly programming interface. key features of the mplab pm3 programmer include: ? rs-232 or usb interface ? integrated in-circuit serial programming? (icsp?) interface ? fast programming time ? three operating modes: - pc host mode for full control - safe mode for secure data - stand-alone mode for programming without a pc ? complete line of interchangeable socket modules to support all microchip devices and package options (sold separately) ?sqtp sm serialization for programming unique serial numbers while in pc host mode. ? an alternate dos command line interface for batch control ? large easy-to-read display ? field upgradeable firmware allows quick new device support ? secure digital (sd) and multimedia card (mmc) external memory support ? buzzer notification for noisy environments figure 10-5: mplab ? pm3 device programmer
dspic33f ds70155c-page 46 preliminary ? 2005 microchip technology inc. 11.0 dspic33f development tools and application libraries microchip offers a comprehensive set of tools and libraries to help with rapid development of dspic33f device-based application(s). table 11-1 summarizes available and planned dspic33f software tools and libraries. microchip also provides value added services, such as skilled/certified technical application contacts, reference designs and hardware and software developers. (contact microchip dscd marketing for availability.) table 11-1: microchip software development tools and application libraries development tool description part # math library (see section 11.1 math library ) double precision and floating-point library (asm, c wrapper) sw300020 peripheral library (see section 11.2 peripheral driver library ) peripheral initialization, control and utility routines (c) sw300021 dsp library (see section 11.3 dsp algorithm library ) essential dsp algorithm suite (filters, fft) sw300022 dspicworks? tool (see section 11.4 dspicworks? data analysis and dsp software ) graphical data analysis and conver sion tool for dsp algorithms sw300023 digital filter design (see section 11.5 digital filter design software utility ) graphical iir and fir filter design package for dspic33f sw300001 tcp/ip library (see section 11.6 microchip tcp/ip stack ) tcp/ip connectivity and protocol support sw300024 soft modem library (see section 11.7 soft modem library ) v.22bis/v.22 soft modem library sw300002 v.32bis soft modem library up to 5k units sw300003-5k v.32bis soft modem library up to 25k units sw300003-25k v.32bis soft modem library up to 100k units sw300003-100k evaluation copy of v.32bis soft modem library sw300003-eval speech recognition library (see section 11.8 speech recognition library ) speech recognition librar y up to 5k units sw300010-5k speech recognition library up to 25k units sw300010-25k speech recognition librar y up to 100k units sw300010-100k evaluation copy of speech recognition library sw300010-eval noise suppression library (see section 11.9 noise suppression library ) noise suppression library up to 5k units sw300040-5k noise suppression library up to 25k units sw300040-25k noise suppression library up to 100k units sw300040-100k evaluation copy of noise suppression library sw300040-eval acoustic echo cancellation library (see section 11.10 acoustic echo cancellation library ) acoustic echo cancellation li brary up to 5k units sw300060-5k acoustic echo cancellation libr ary up to 25k units sw300060-25k acoustic echo cancellation li brary up to 100k units sw300060-100k evaluation copy of acoustic echo cancellation library sw300060-eval symmetric key embedded encryption library (see section 11.11 symmetric key embedded encryption library ) symmetric key embedded encryption library up to 5k units sw300050-5k symmetric key embedded encryption library up to 25k units sw300050-25k symmetric key embedded encryption library up to 100k units sw300050-100k evaluation copy of symmetric key embedded encryption library sw300050-eval asymmetric key embedded encryption library (see section 11.12 asymmetric key embedded encryption library ) asymmetric key embedded encryption library up to 5k units sw300055-5k asymmetric key embedded encryption library up to 25k units sw300055-25k asymmetric key embedded encryption library up to 100k units sw300055-100k evaluation copy of asymmetric key embedded encryption library sw300055-eval speech encoding/decoding library (see section 11.13 speech encoding/decoding library ) speech encoding/decoding libr ary up to 5k units sw300070-5k speech encoding/decoding libr ary up to 25k units sw300070-25k speech encoding/decoding libr ary up to 100k units sw300070-100k evaluation copy of speech enc oding/decoding library sw300070-eval
? 2005 microchip technology inc. preliminary ds70155c-page 47 dspic33f 11.1 math library the dspic33f math library is the compiled version of the math library that is distributed with the highly optimized, ansi-compliant dspic33f mplab c30 c compiler (sw006012). it contains advanced single and double-precision floating-point arithmetic and trigonometric functions from the standard ?c? header file ( math.h ). the library delivers small program code size and data size, reduced cycles and high accuracy. features ? the math library is callable from either mplab c30 or dspic33f assembly language. ? the functions are ieee-754 compliant, with signed zero, signed infinity, nan (not a number) and denormal support and operated in the ?round to nearest? mode. ? compatible with mplab asm30 and mplab link30, which are available at no charge from microchip?s web site. table 11-2 shows the memory usage and performance of the math library. table 11-3 lists the math functions that are included. table 11-2: memory usage and performance table 11-3: math functions memory usage (bytes) (1,2) code size 5250 data size 4 performance (cycles) (1,3) add 122 sub 124 mul 109 div 361 rem 385 sqrt 492 note 1: results are based on using dspic33f mplab c30 c compiler (sw006012), version 1.20. 2: maximum ?memory usage? when all functions in the library are loaded. most applications will use less. 3: average 32-bit floating-point performance results. single and double-precision floating-point functions arithmetic functions add, subtract, multiply, divide, remainder root and power functions pow, sqrt trigonometric and hyperbolic functions acos, asin, atan, atan2, cos, cosh, sin, sinh, tan, tanh logarithmic and exponential functions exp, log, log10, frexp, ldexp rounding functions ceil, floor absolute value functions fabs modular arithmetic functions fmod, modf comparison and conversions comparison, integer and floating-point conversions
dspic33f ds70155c-page 48 preliminary ? 2005 microchip technology inc. 11.2 peripheral driver library microchip offers a free peripheral driver library that supports the setup and control of dspic33f hardware peripherals, including, but not limited to: ? analog-to-digital converter ? motor control pwm ? quadrature encoder interface ?uart ? spi? ? data converter interface ?i 2 c? ? general purpose timers ? input capture ? output compare/simple pwm ?can ? i/o ports and external interrupts ?reset in addition to the hardware peripherals, the library supports software generated peripherals, such as standard lcd drivers, which support an hitachi style controller. the peripheral library consist of more than 270 functions, as well as several macros for simple tasks such as enabling and disabling interrupts. all peripheral driver routines are developed and optimized using the mplab c30 c compiler. electronic documentation accompanies the peripheral library to help you become familiar with and implement the library functions. key features of the dspic33f peripheral library include: ? a library file for each individual device from the dspic33f family, including functions corresponding to peripherals present in that particular device. ??c? include files that let you take advantage of predefined constants for passing parameters to various library functions. there is an include file for each peripheral module. ? since the functions are in the form of precompiled libraries, they can be called from a user application program written in either mplab c30 c compiler or dspic33f assembly language. ? included ?c? source code allows you to customize peripheral functions to suit your specific application requirements. ? predefined constants in the ?c? include files eliminate the need to refer to the details and structure of every special function register while initializing peripherals or checking status bits. 11.3 dsp algorithm library the free dsp library supports multiple filtering, convolution, vector and matrix functions. among the supported functions are: ? cascaded infinite impulse response (iir) filters ?correlation ? convolution ? finite impulse response (fir) filters ? windowing functions ?ffts ? lms filter ? vector addition and subtraction ? vector dot product ?vector power ? matrix addition and subtraction ? matrix multiplication some dsp functions use double-precision and floating-point arithmetic. all dsp routines are developed and optimized in dspic33f assembly language and are callable from both assembly and ?c? language. the microchip mplab c30 and iar c compilers are supported. key features of the dsp algorithm library include: ? 49 total functions ? full compliance with the microchip dspic33f c30 c compiler, assembler and linker ? simple user interface ? just one library file and one header file ? functions are both ?c? and assembly callable ? fir filtering functions include support for lattice, decimating, interpolating and lms filters ? iir filtering functions include support for canonic, transposed canonic and lattice filters ? fir and iir functions may be used with the filter files generated by the dspic33f filter design program ? transform functions include support for in-place and out-of-place dct, fft and ifft transforms ? window functions include support for bartlett, blackman, hamming, hanning and kaiser windows ? support for program space visibility ? complete function profile information including register usage, cycle count and function size information ? electronic documentation is included to help you comprehend and use the library functions
? 2005 microchip technology inc. preliminary ds70155c-page 49 dspic33f table 11-4: function execution times 11.4 dspicworks? data analysis and dsp software the dspicworks tool is a free data analysis and signal processing package for use with microsoft ? windows ? 9x, windows nt ? , windows 2000 and windows xp platforms. it provides an extensive number of functions encompassing: ? wide variety of signal generators ? sine, square, triangular, window functions, noise ? extensive dsp functions ? fft, dct, filtering, convolution, interpolation ? extensive arithmetic functions ? algebraic expressions, data scaling, clipping, etc. ? 1-d, 2-d and 3-d displays ? multiple data quantization and saturation options ? multi-channel data support ? automatic ?script file?-based execution options available for any user-defined sequence of dspicworks tool functions ? file import/export interoperable with mplab ide ? digital filtering options support filters generated by dspic dsc filter design ? asm30 assembler file option to export data tables into dspic33f ram figure 11-1: dspicworks ? data analysis and dsp software function cycle count equation conditions (1) number of cycles (2) execution time @ 40 mips complex fft (3) ? n = 64 3739 93.5 s complex fft (3) ? n = 128 8485 212.1 s complex fft (3) ? n = 256 19055 476.4 s block fir 53 + n(4 + m) n = 32, m = 32 1205 30.1 s block fir lattice 41 + n(4 + 7m) n = 32, m = 32 7337 183.4 s block iir canonic 36 + n(8 + 7s) n = 32, s = 4 1188 29.7 s block iir lattice 46 + n(16 + 7m) n = 32, m = 8 2350 58.8 s matrix add 20 + 3(c * r) c = 8, r = 8 212 5.3 s matrix transpose 16 + c(6 + 3(r ? 1)) c = 8, r = 8 232 5.8 s vector dot product 17 + 3n n = 32 113 2.8 s vector max 19 + 7(n ? 2) n = 32 229 5.7 s vector multiply 17 + 4n n = 32 145 3.6 s vector power 16 + 2n n = 32 80 2.0 s note 1: c = # columns, n = # samples, m = # taps, s = # sections, r = # rows. 2: 1 cycle = 25 nanoseconds @ 40 mips. 3: complex fft routine inherently prevents overflow.
dspic33f ds70155c-page 50 preliminary ? 2005 microchip technology inc. 11.4.1 signal generation dspicworks? data analysis and dsp software support an extensive set of signal generators, including basic sine, square and triangle wave generators, as well as advanced generators for window functions, unit step, unit sample, sine, exponential and noise functions. noise, with specified distribution, can be added to any signal. signals can be generated as 32-bit floating-point, or as 16-bit fractional fix ed-point values, for any desired sampling rate. the length of the generated signal is limited only by available disk space. signals can be imported or exported from or to mplab ide file register windows. multi-channel data can be created by a set of multiplexing functions. 11.4.2 digital signal processing (dsp) and arithmetic operations dspicworks data analysis and dsp software have a wide range of dsp and arithmetic functions that can be applied to signals. standard dsp functions include transform operations: fft and dct, convolution and correlation, signal decimation, signal interpolation sample rate conversion and digital filtering. digital filtering is an important part of the dspicworks tool. it uses filters designed by the sister-application, dspic dsc filter design, and applies them to synthesized or imported signals. the dspicworks tool also features special operations, such as signal clipping, scaling and quantization, all of which are vital in real practical analysis of dsp algorithms. 11.4.3 display and measurement dspicworks data analysis and dsp software have a wide variety of display and measurement options. frequency domain data may be plotted in the form of 2-dimensional ?spectrogram? and 3-dimensional ?waterfall? options. the signals can be measured accurately by a simple mouse click. the log window shows current cursor coordinates, as well as derived values, such as the difference from last position and signal frequency. signal strength can be measured over a particular range of frequencies. special support also exists for displaying multi-channel and multiplexed data. graphs allow zoom options. the user can choose from a set of color scheme options to customize display settings. 11.4.4 file import/export ? mplab ide and mplab asm30 support dspicworks data analysis and dsp software allow data to be imported from the external world in the form of ascii text or binary files. conversely, it also allows data to be exported out in the form of files. the dspicworks tool supports all file formats supported by the mplab import/export table. this feature allows the user to bring real-world data from mplab ide into the dspicworks tool for analysis. the dspicworks tool can also create asm30 assembler files that can be included into the mplab workspace. 11.5 digital filter design software utility the digital filter design tool for the dspic33f 16-bit digital signal controllers makes designing, analyzing and implementing finite impulse response (fir) and infinite impulse response (iir) digital filters easy through a menu-driven, user-intuitive interface. this tool performs complex mathematical computations for filter design, provides superior graphical displays and generates comprehensive design reports . desired filter frequency specifications are entered and the tool automatically generates the filter code and coefficient files ready to use in the mplab integrated development environment (ide). system analysis of the filter transfer function is supported with multiple generated graphs, such as magnitude, phase, group delay, log magnitude, impulse response and pole/zero locations. figure 11-2: digital filter design tool interface
? 2005 microchip technology inc. preliminary ds70155c-page 51 dspic33f key features of the digital filter design tool include: finite impulse response filter design ? design method selection - fir windows design - fir equiripple design (parks-mcclellan) ? low-pass, high-pass, band-pass and band-stop filters ? fir filters can have up to 513 taps ? the following window functions are supported: - rectangular - hanning (hann) - hamming - triangular -blackman - exact blackman -3 term cosine - 3 term cosine with continuous 3rd derivative - minimum 3 term cosine -4 term cosine - 4 term cosine with continuous 5th derivative - minimum 4 term cosine - good 4 term blackman harris -harris flat top -kaiser - dolph-tschebyscheff -taylor -gaussian ? reports show design details, such as window coefficients and impulse response prior to multiplying by the window function infinite impulse response filter design ? low-pass, high-pass, band-pass and band-stop filters ? filter orders up to 10 for low-pass and high-pass filters ? filter orders up to 20 for band-pass and band-stop filters ? five analog prototype filters are available: - butterworth - tschebyscheff - inverse tschebyscheff - elliptic -bessel ? digital transformations are performed by bilinear transformation method ? reports show design details, such as all transformations from normalized low-pass filter to desired filter code generation features ? generated files are compliant with the microchip dspic33f c30 c compiler, assembler and linker ? choice of placement of coefficients in program space or data space ? ?c? wrapper/header code generation graphs ? magnitude response vs. frequency ? log magnitude vs. frequency ? phase response vs. frequency ? group delay vs. frequency ? impulse response vs. time (per sample) ? step response vs. time (per sample) ? pole and zero locations (iir only) 11.6 microchip tcp/ip stack the free microchip tcp/ip stack is a suite of programs that can provide services to standard (http server, mail client, etc.) or custom tcp/ip-based applications. users do not need to be an expert in tcp/ip specifications to use it and only need specific knowledge of tcp/ip in the accompanying http server application. this stack is implemented in a modular fashion, with all of its services creating highly abstracted layers, each layer accessing services from one or more layers directly below it. the stack is optimized for size and is designed to run on the dspic33f using the dspicdem.net? development board; however, it can be easily retargeted to any hardware equipped with a dspic33f. html web pages generated by the dspic33f can be viewed with a standard web browser such as microsoft internet explorer. key features of the microchip tcp/ip stack include: ? out-of-box support for microchip c30 c compiler ? implements complete tcp state machine ? multiple tcp and udp sockets with simultaneous connection/management ? includes modules supporting various standard protocols: mac, slip, arp, ip, icmp, tcp, snmp, udp, dhcp, ftp, ip gleaning, http, mpfs (microchip file system) ? can be used as a part of the http server (included) or any custom tcp/ip-based application ? rtos independent
dspic33f ds70155c-page 52 preliminary ? 2005 microchip technology inc. 11.7 soft modem library the microchip data modem library is composed of itu-t compliant algorithms for v.21, v.22, v.22bis, v.23, v.32 and v.32bis modem recommendations. bell standard 103 is also included in this library. v.21, v.23 and bell 103 are frequency shift keying (fsk) modems. v.32, v.32bis and v.22bis are quadrature amplitude modulation (qam) modems. v.22 is a quadrature phase shift keying (qpsk) modem. v.21, v.22, v.22bis, v.32 and v.32bis are all 2-wire, full- duplex modems. v.23 is a full-duplex modem when it operates with a 75 bps backwards channel. v.22bis includes fallback to v.22, v.23 and v.21 standards. v.32bis optionally falls back to v.22bis, v.22 and v.21 standards. the dspic dsc soft modem is well-suited for small transaction oriented applications, such as, but not limited to: ?pos terminals ? set top boxes ?drop boxes ? fire panels ? internet enabled home security systems ? internet connected power, gas and water meters ? internet connected vending machines ? smart appliances ? industrial monitoring functions supporting itu-t recommendation v.42 are provided with each library. v.42 contains a high-level data link control (hdlc) protocol, referred to as link access procedure for modems (lapm) and defines error correcting protocols for modems. all data pump modulation and demodulation functions are written in asm30 assembly code yielding optimal code size and execution time. the at, v.42 and data pump apis are written in c30 c compiler language. electronic documentation accompanies the modem library to help you become familiar with and implement the library functions. a comprehensive ?dspic30f soft modem library user?s guide? describes the required apis for the at, v.42 and data pump layers. 11.8 speech recognition library the dspic speech recognition library provides voice control of embedded applications that require an alternative user interface. with a vocabulary of up to 100 words, the speech recognition library allows users to control their application using spoken commands. the speech recognition library is an ideal front end for hands-free products, such as modem appliances, security panels and cell phones. the speech recognition library has very modest memory and processing requirements and is targeted for the dspic30f5011, dspic30f5013, dspic30f6012 and dspic30f6014 processors. key features of the dspic dsc speech recognition library include: ? us english language support ? speaker independent recognition of isolated words ? no speaker training is required ? hidden markov modem-based recognition system ? recognition time < 500 msec ? master library of 100 common words (listed in the ?dspic30f speech recognition library user?s guide? ) ? windows operating system-based utility allows the user to create a custom word library from the master library ? additional words can be added to the master library (fee based) ? data tables can be stored in external memory ? optional keyword activation and silence detection ? optional system self-test using a predefined keyword ? flexible api ? full compliance with microchip mplab c30 c compiler language tools ? ?dspic30f speech recognition library user?s guide? and ?dspic30f word library builder user?s guide? ? designed to run on dspicdem? 1.1 general purpose development board (dm300014) 11.8.1 resource requirements ? sampling interface: si-3000 audio codec operating at 12.0 khz ? system operating frequency: 12.288, 18.432 or 24.576 mhz ? computational power: 8 mips ? program flash memory: 18 kb + 1.5 kb for each library word ? ram: < 3.0 kb
? 2005 microchip technology inc. preliminary ds70155c-page 53 dspic33f 11.9 noise suppression library the dspic dsc noise suppression library provides a function to suppress the effect of noise interfering with a speech signal. this function is useful for microphone- based applications which have a potential for incoming speech getting corrupted by ambient noise captured by a microphone. it is especially suitable for systems in which an acoustically isolated noise reference is not available, such as: ? hands-free cell phone kits ? speakerphones ?intercoms ? teleconferencing systems ? headsets ? as a front end to a speech recognition or speech encoding system ? any microphone-based application that needs to eliminate undesired noise ? any application that needs to eliminate noise interference from signals received over a communication channel the noise suppression library uses an 8 khz sampling rate. however, the library includes sample rate conversion functions that ensure interoperability with libraries and speech sampling peripherals configured for higher sampling rates (9.6 khz, 11.025 khz or 12 khz). key features of the noise suppression library include: ? all functions can be called from either a ?c? or assembly application program ? full compliance with the microchip c30 c compiler, assembler and linker ? precompiled library archive files ? highly optimized assembly code, utilizing dsp instructions and advanced addressing modes ? audio bandwidth: 0-4 khz at 8 khz sampling rate ? 10-20 db noise reduction depending on type of noise ? ?dspic30f noise suppression library user?s guide? ? demo application source code is provided ? accessory kit available for purchase includes: audio cable, headset, oscillators, microphone, speaker, db9 m/f rs-232 cable, db9m-db9m null modem adapter and can be used for library evaluation table 11-5: resource requirements 11.10 acoustic echo cancellation library the acoustic echo cancellation (aec) library provides a function to eliminate echo generated in the acoustic path between a speaker and a microphone. this function is useful for speech and telephony applications in which a speaker and a microphone are located in close proximity to each other and therefore, susceptible to signals propagating from the speaker to the microphone resulting in a perceptible and distracting echo effect at the far end. it is especially suitable for these applications: ? hands-free cell phone kits ? speakerphones ?intercoms ? teleconferencing systems for hands-free phones intended to be used in compact environments, such as a car cabin, this library is fully compliant with the g.167 standard for acoustic echo cancellation. like the noise suppression library, the acoustic echo cancellation library also includes sample rate conversion functions. key features of the aec library include: ? all functions can be called from either a ?c? or assembly application program ? full compliance with the microchip c30 c compiler, assembler and linker ? precompiled library archive files ? highly optimized assembly code, utilizing dsp instructions and advanced addressing modes ? echo cancellation for 16, 32 or 64 ms echo delay or ?tail length? (configurable) ? fully tested for compliance with g.167 specifications for in-car applications ? audio bandwidth: 0-4 khz at 8 khz sampling rate ? convergence rate: up to 43 db/sec., typically > 30 db/sec. ? echo cancellation: up to 50 db, typically > 40 db ? ?dspic30f acoustic echo cancellation library user?s guide? ? demo application source code is provided ? accessory kit available for purchase table 11-6: resource requirements algorithm mips flash ram noise suppression 3.3 7 kb 1 kb sample rate conversion 1.0 2.6 kb 0.5 kb note: the user application might require an additional 1 kb-1.5 kb for data buffering (application-dependent). algorithm mips flash ram aec ? 64 ms echo tail 16.5 6 kb 5.7 kb aec ? 32 ms echo tail 10.5 6 kb 3.4 kb aec ? 16 ms echo tail 7.5 6 kb 2.6 kb sample rate conversion 1.0 2.6 kb 0.5 kb note: the user application might require an additional 2 kb-2.5 kb for data buffering (application-dependent).
dspic33f ds70155c-page 54 preliminary ? 2005 microchip technology inc. 11.11 symmetric key embedded encryption library microchip offers a reliable security solution for embedded applications built on the dspic33f platform. this solution is provided by means of two libraries ? symmetric key and asymmetric key embedded encryption libraries. the symmetric key library includes the following: ? hash functions - sha-1 secure hash standard - md5 message digest ? symmetric key encryption/decryption functions - advanced encryption standard (aes) - triple data encryption standard (triple-des) ? random number generator functions - deterministic random bit generator ansi x9.82 some typical applications for this library include: ? mobile and wireless devices, pdas ? secure banking ? secure web transactions - secure socket layer (ssl) - transport layer security (tls) - secure multipurpose mail extensions (s/mime) ? zigbee? technology and other monitoring and control applications ? smart card readers/trusted card readers ? friend/foe identification ? secure devices and peripherals interoperating with tcg (trusted computing group) and ngscb (microsoft next generation secure computing base) personal computers key features of the symmetric key embedded encryption library include: ? c-callable library functions developed in mplab asm30 assembly language ? optimized for speed, code size and ram usage - ram usage below 60 bytes ? library functions extensively tested for adherence to applicable standards ? symmetric key encryption/decryption functions support multiple modes of operation: - electronic code book (ecb) mode - cipher block chaining with message authentication (cbc-mac) mode - counter (ctr) mode - combined cbc-mac and ctr (ccm) mode ? ?dspic30f embedded encryption libraries user?s guide? ? several examples of use are provided for each library function 11.12 asymmetric key embedded encryption library microchip offers a reliable security solution for embedded applications built on the dspic33f platform. this solution is provided by means of two libraries ? symmetric key and asymmetric key embedded encryption libraries. the asymmetric key library includes the following: ? public key encryption/decryption functions - rsa (1024 and 2048-bit) ? key agreement protocol - diffie-hellman (1024 and 2048-bit) ? signing and verification - dsa (1024-bit) - rsa (1024 and 2048-bit) ? hash functions - sha-1 secure hash standard - md5 message digest ? random number generator functions - ansi x9.82 some typical applications for this library include: ? mobile and wireless devices, pdas ? secure banking ? secure web transactions - secure socket layer (ssl) - transport layer security (tls) - secure multipurpose mail extensions (s/mime) ? zigbee technology and other monitoring and control applications ? smart card readers/trusted card readers ? friend/foe identification ? secure devices and peripherals interoperating with tcg (trusted computing group) and ngscb (microsoft next generation secure computing base) personal computers key features of the asymmetric key embedded encryption library include: ? c-callable library functions developed in mplab asm30 assembly language ? optimized for speed, code size and ram usage - ram usage below 100 bytes ? library functions extensively tested for adherence to applicable standards ? ?dspic30f embedded encryption libraries user?s guide? ? several examples of use are provided for each library function
? 2005 microchip technology inc. preliminary ds70155c-page 55 dspic33f 11.13 speech encoding/decoding library the speech encoding/decoding library performs toll- quality voice compression and voice decompression. the library is based on a modified version of the speex speech encoder/decoder source code and features a 16:1 compression ratio. it samples speech at 8 khz and compresses it to a data rate of 8 kbps. storing compressed speech for playback requires approximately 1 kb of memory for each second of speech. the library is especially suitable for the following voice-based applications: ? answering machines ? building and home safety systems ?intercoms ? smart appliances ? voice recorders ? walkie-talkies ? any application using message playback a pc-based speech encoder utility program allows you to create your own encoded speech files for playback. encoded speech files are made from either a pc microphone or existing wav file. once you create the encoded speech files, they are added to your mplab c30 project, just like a regular source file, and built into your application. the speech encoder utility allows you to select four target memory areas to store your speech file: program flash memory, ram and external flash memory. external flash memory allows you to store many minutes of speech (1 minute of speech requires 60 kb) and it is supported through a general purpose i/o port. key features of the speech encoding/decoding library include: ? pesq-based mean opinion score: 3.7-4.2 (out of 5.0) ? code excited linear prediction (celp) based coding ? 2 analog input interfaces ? codec or on-chip adc ? 2 analog output interfaces ? codec or on-chip pwm ? optional voice activity detection ? storing compressed speech requires 1 kb of memory per second of speech ? royalty-free (only one-time license fee) ? full compliance with microchip mplab c30 c compiler language tools ? ?dspic30f speech encoding/decoding library user?s guide? ? designed to run on dspicdem 1.1 general purpose development board (dm300014)
dspic33f ds70155c-page 56 preliminary ? 2005 microchip technology inc. 12.0 third party development tools and application libraries besides providing development tools and application libraries for dspic33f products, microchip also partners with key third party tool manufacturers to develop quality hardware and software tools in support of the dspic33f product family. details of various third party development tools will be provided shortly.
? 2005 microchip technology inc. preliminary ds70155c-page 57 dspic33f 13.0 dspic33f hardware development boards microchip initially offers two hardware development boards that help you quickly prototype and validate key aspects of your design. each board features various dspic33f peripherals and supports microchip?s mplab in-circuit debugger (icd 2) tool for cost- effective debugging and programming of the dspic33f devices. these two boards are shown in table 13-1. microchip plans to offer additional hardware development boards to support the dspic33f product family. contact microchip dscd marketing for additional information. table 13-1: hardware development boards development tool description part # from development boards and reference designs general purpose development board dspicdem? 80-pin starter development board dm300019 microchip explorer 16 development board dm240001 microchip plug-in samples plug-in sample (see section 13.3 plug-in modules ) pc board with 80-pin dspic30f6014a general purpose mcu sample; use with dm300019 development board. ma300014 microchip pc board with 100-pin dspic33f mcu sample; use with dm240001 development board. ma330011 microchip pc board with 100-pin dspic33f mcu sample; use with dm300019 development board. ma330012 microchip accessory kits acoustic accessory kit (see section 13.3 plug-in modules ) accessory kit includes: audio cable, headset, oscillators, microphone, speaker, db9 m/f rs-232 cable, db9m-db9m null modem adapter and can be used for library evaluation. ac300030 microchip
dspic33f ds70155c-page 58 preliminary ? 2005 microchip technology inc. 13.1 dspicdem? 80-pin starter development board this development board offers a very economical way to evaluate both the dspic30f and dspic33f general purpose and motor control family devices. this board is an ideal prototyping tool to help you quickly develop and validate key design requirements. some key features and attributes of the dspicdem 80-pin starter development board include: ? includes an 80-pin dspic30f6014a plug-in module (ma300014) ? power input from 9v supply ? selectable voltage regulator outputs of 5v and 3.3v ? leds, switches, potentiometer, uart interface ? a/d input filter circuit for speech band signal input ? on-board dac and filter for speech band signal output ? circuit prototyping area ? assembly language demonstration program and tutorial ? can accommodate 80-pin dspic30f6010 plug-in module (ma300013) ? can accommodate 100 to 80-pin adapter dspic33f plug-in module (ma330012) figure 13-1: dspicdem? 80-pin starter development board 13.2 explorer 16 development board this development board offers a very economical way to evaluate both the dspic33f general purpose and motor control family devices, as well as the pic24f devices. this board is an ideal prototyping tool to help you quickly develop and validate key design requirements. some key features and attributes of the explorer 16 development board include: ? includes a 100-pin dspic33f plug-in module (ma330011) ? includes a 100-pin pic24 plug-in module (part # tbd) ? power input from 9v supply ? modular design for plug-in demonstration boards, expansion header ? icd 2 and jtag connection for reprogramming ? usb and protocol translation support through pic18f4450 ? rs-232 connection with firmware and driver support ? led bank for general indication ? serial eeprom ? 16 x 2 alphanumeric lcd ? temperature sensor ? terminal interface program and menu programs figure 13-2: explorer 16 development board
? 2005 microchip technology inc. preliminary ds70155c-page 59 dspic33f 13.3 plug-in modules the various dspic33f development boards may use the plug-in modules for the dspic33f silicon devices. since the boards contain device header pins on the pcb, they also are used to provide flexibility for the replacement of the dspic33f silicon. three different plug-in sample types will be provided, supporting the 64-pin, 80-pin and 100-pin tqfp package types for general purpose and motor control family device samples. the use of plug-in samples is considered to be an interim development board mechanization. 13.4 acoustic accessory kit the acoustic accessory kit includes the following accessories targeted towards acoustics-oriented library (ns, aec, etc.) evaluation and application development support: ? 6 ft. stereo audio cable ? stereo headset ? two 14.7456 mhz oscillators ? clip-on microphone ? fold-up speaker ? 6 ft. db9 m/f rs-232 cable ? db9m-db9m null modem adapter
dspic33f ds70155c-page 60 preliminary ? 2005 microchip technology inc. appendix a: device i/o pinouts and functions for general purpose family table a-1 provides a brief description of device i/o pinouts and functions that can be multiplexed to a port pin. multiple functions may exist on one port pin. when multiplexing occurs, the peripheral module?s functional requirements may force an override of the data direction of the port pin. table a-1: pinout i/o descriptions for general purpose family pin name pin type input buffer type description an0-an23 i analog analog input channels. av dd p p positive supply for analog module. av ss p p ground reference for analog module. clki clko i o st/cmos ? external clock source input. always associated with osc1 pin function. oscillator crystal output. connects to crystal or resonator in crystal oscillator mode. optionally functions as clko in rc and ec modes. always associated with osc2 pin function. cn0-cn23 i st input change notification inputs. can be software programmed for internal weak pull-ups on all inputs. cofs csck csdi csdo i/o i/o i o st st st ? data converter interface frame synchronization pin. data converter interface serial clock input/output pin. data converter interface serial data input pin. data converter interface serial data output pin. c1rx c1tx c2rx c2tx i o i o st ? st ? ecan1 bus receive pin. ecan1 bus transmit pin. ecan2 bus receive pin. ecan2 bus transmit pin. pgd1/emud1 pgc1/emuc1 pgd2/emud2 pgc2/emuc2 pgd3/emud3 pgc3/emuc3 i/o i i/o i i/o i st st st st st st data i/o pin for programming/debugging communication channel 1. clock input pin for programming/debugging communication channel 1. data i/o pin for programming/debugging communication channel 2. clock input pin for programming/debugging communication channel 2. data i/o pin for programming/debugging communication channel 3. clock input pin for programming/debugging communication channel 3. ic1-ic8 i st capture inputs 1 through 8. int0 int1 int2 int3 int4 i i i i i st st st st st external interrupt 0. external interrupt 1. external interrupt 2. external interrupt 3. external interrupt 4. mclr i/p st master clear (reset) input or programming voltage input. this pin is an active-low reset to the device. ocfa ocfb oc1-oc8 i i o st st ? compare fault a input (for compare channels 1, 2, 3 and 4). compare fault b input (for compare channels 5, 6, 7 and 8). compare outputs 1 through 8. osc1 osc2 i i/o st/cmos ? oscillator crystal input. st buffer when configured in rc mode; cmos otherwise. oscillator crystal output. connects to crystal or resonator in crystal oscillator mode. optionally functions as clko in rc and ec modes. ra0-ra7 ra9-ra10 ra12-ra15 i/o i/o i/o st st st porta is a bidirectional i/o port. rb0-rb15 i/o st portb is a bidirectional i/o port. legend: cmos = cmos compatible input or output; analog = analog input st = schmitt trigger input with cmos levels; o = output; i = input; p = power
? 2005 microchip technology inc. preliminary ds70155c-page 61 dspic33f rc1-rc4 rc12-rc15 i/o i/o st st portc is a bidirectional i/o port. rd0-rd15 i/o st portd is a bidirectional i/o port. re0-re9 i/o st porte is a bidirectional i/o port. rf0-rf8 rf12-rf13 i/o i/o st st portf is a bidirectional i/o port. rg0-rg3 rg6-rg9 rg12-rg15 i/o i/o i/o st st st portg is a bidirectional i/o port. sck1 sdi1 sdo1 ss1 sck2 sdi2 sdo2 ss2 i/o i o i i/o i o i st st ? st st st ? st synchronous serial clock input/output for spi1. spi1 data in. spi1 data out. spi1 slave synchronization. synchronous serial clock input/output for spi2. spi2 data in. spi2 data out. spi2 slave synchronization. scl1 sda1 scl2 sda2 i/o i/o i/o i/o st st st st synchronous serial clock input/output for i2c1. synchronous serial data input/output for i2c1. synchronous serial clock input/output for i2c2. synchronous serial data input/output for i2c2. sosci sosco i o st/cmos ? 32 khz low-power oscillator crystal input; cmos otherwise. 32 khz low-power oscillator crystal output. tms tck tdi tdo i i/o i o st st st ? jtag test mode select pin. jtag test clock input/output pin. jtag test data input pin. jtag test data output pin. t1ck t2ck t3ck t4ck t5ck t6ck t7ck t8ck t9ck i i i i i i i i i st st st st st st st st st timer1 external clock input. timer2 external clock input. timer3 external clock input. timer4 external clock input. timer5 external clock input. timer6 external clock input. timer7 external clock input. timer8 external clock input. timer9 external clock input. u1cts u1rts u1rx u1tx u2cts u2rts u2rx u2tx i o i o i o i o st ? st ? st ? st ? uart1 clear to send. uart1 ready to send. uart1 receive. uart1 transmit. uart2 clear to send. uart2 ready to send. uart2 receive. uart2 transmit. v dd p ? positive supply for peripheral logic and i/o pins. v ddcore p ? cpu logic filter capacitor connection. v ss p ? ground reference for logic and i/o pins. v ref + i analog analog voltage reference (high) input. v ref - i analog analog voltage reference (low) input. table a-1: pinout i/o descriptions for general purpose family (continued) pin name pin type input buffer type description legend: cmos = cmos compatible input or output; analog = analog input st = schmitt trigger input with cmos levels; o = output; i = input; p = power
dspic33f ds70155c-page 62 preliminary ? 2005 microchip technology inc. table a-2: dspic33f general purpose family variants (devices marked ?ps?) device pins program flash memory (kb) ram (kb) (1) timer 16-bit input capture output compare std. pwm codec interface a/d converter uart spi? i 2 c? can i/o pins (max) (2) packages 33fj128gp706 64 128 17 9 8 8 1 2 a/d, 18 ch 222253 pt 33fj128gp708 80 128 17 9 8 8 1 2 a/d, 24 ch 222269 pt 33fj256gp710 100 256 33 9 8 8 1 2 a/d, 32 ch 222286 pf note 1: ram size is inclusive of 1 kb dma ram. 2: maximum i/o pin count includes pins shared by the peri pheral functions. note: prototype samples are intended for dspic33f early adopters and are based on early revision silicon. devices are marked with ?ps? suffix. major differences are note d in this data sheet. for additional information, please refer to the ?dspic33f data sheet? .
? 2005 microchip technology inc. preliminary ds70155c-page 63 dspic33f pin diagrams 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 emuc1/sosco/t1ck/cn0/rc14 emud1/sosci/t4ck/cn1/rc13 emuc2/oc1/rd0 ic4/int4/rd11 ic2/int2/rd9 ic1/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 emuc3/sck1/int0/rf6 u1rx/sdi1/rf2 emud3/u1tx/sdo1/rf3 cofs/rg15 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 an1/v ref -/cn3/rb1 an0/v ref +/cn2/rb0 oc8/cn16/rd7 csdo/rg13 csdi/rg12 csck/rg14 v ddcore c2tx/rg1 c1tx/rf1 c2rx/rg0 emud2/oc2/rd1 oc3/rd2 pgc/emuc/an6/ocfa/rb6 pgd/emud/an7/rb7 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v ss v dd an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/ic8/cn7/rb5 an4/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj128gp706* *device is marked with ?ps? designator.
dspic33f ds70155c-page 64 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 80-pin tqfp 72 74 73 71 70 69 68 67 66 65 64 63 62 61 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 50 49 48 47 46 45 44 21 41 40 39 38 37 36 35 34 23 24 25 26 27 28 29 30 31 32 33 17 18 19 75 1 57 56 55 54 53 52 51 60 59 58 43 42 76 78 77 79 22 80 ic5/rd12 oc4/rd3 oc3/rd2 emud2/oc2/rd1 csck/rg14 an23/cn23/ra7 an22/cn22/ra6 c2rx/rg0 c2tx/rg1 c1tx/rf1 c1rx/rf0 csdo/rg13 csdi/rg12 oc8/cn16/rd7 oc6/cn14/rd5 emuc2/oc1/rd0 ic4/rd11 ic2/rd9 ic1/rd8 ic3/rd10 v ss osc1/clkin/rc12 v dd scl1/rg2 u1rx/rf2 emud3/u1tx/rf3 emuc1/sosco/t1ck/cn0/rc14 emud1/sosci/cn1/rc13 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2rx/cn17/rf4 ic8/cn21/rd15 u2tx/cn18/rf5 an6/ocfa/rb6 an7/rb7 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr ss2 /cn11/rg9 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc/emuc/an1/cn3/rb1 pgd/emud/an0/cn2/rb0 v ss v dd cofs/rg15 an16/t2ck/t7ck/rc1 an21/int2/ra13 an20/int1/ra12 an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 v dd v ddcore oc5/cn13/rd4 ic6/cn19/rd13 sda1/rg3 sdi1/rf7 sdo1/rf8 an5/cn7/rb5 v ss osc2/clko/rc15 oc7/cn15/rd6 emuc3/sck1/int0/rf6 ic7/cn20/rd14 sda2/int4/ra15 scl2/int3/ra14 dspic33fj128gp708* *device is marked with ?ps? designator.
? 2005 microchip technology inc. preliminary ds70155c-page 65 dspic33f pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 emud2/oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 an26/re2 csdo/rg13 csdi/rg12 csck/rg14 an25/re1 an24/re0 c2rx/rg0 an28/re4 an27/re3 c1rx/rf0 v ddcore emud1/sosci/cn1/rc13 emuc2/oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 emuc3/sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 emud3/u1tx/rf3 v ss emuc1/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/cn20/rd14 ic8/cn21/rd15 v dd v ss an6/ocfa/rb6 an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 an29/re5 an30/re6 an31/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd ra0 an20/int1/ra12 an21/int2/ra13 an5/cn7/rb5 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc/emuc/an1/cn3/rb1 pgd/emud/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 c2tx/rg1 c1tx/rf1 oc8/cn16/rd7 oc7/cn15/rd6 ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd ra4 ra1 100-pin tqfp dspic33fj256gp710* 100 *device is marked with ?ps? designator.
dspic33f ds70155c-page 66 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/int2/rd9 ic1/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 cofs/rg15 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/cn16/rd7 csdo/rg13 csdi/rg12 csck/rg14 v ddcore rg1 rf1 rg0 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/cn18/rf5 u2rx / cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/ic8/cn7/rb5 an4/ic7/cn6/rb4 ic3/int3/rd10 v dd rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj64gp206 dspic33fj128gp206
? 2005 microchip technology inc. preliminary ds70155c-page 67 dspic33f pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/int2/rd9 ic1/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 cofs/rg15 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/cn16/rd7 csdo/rg13 csdi/rg12 csck/rg14 v ddcore rg1 rf1 rg0 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/ic8/cn7/rb5 an4/ic7/cn6/rb4 ic3/int3/rd10 v dd rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj64gp306 dspic33fj128gp306
dspic33f ds70155c-page 68 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/int2/rd9 ic1/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 cofs/rg15 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/cn16/rd7 csdo/rg13 csdi/rg12 csck/rg14 v ddcore rg1 c1tx/rf1 rg0 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/ic8/cn7/rb5 an4/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj256gp506
? 2005 microchip technology inc. preliminary ds70155c-page 69 dspic33f pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/int2/rd9 ic1/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 cofs/rg15 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/cn16/rd7 csdo/rg13 csdi/rg12 csck/rg14 v ddcore c2tx/rg1 c1tx/rf1 c2rx/rg0 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/ic8/cn7/rb5 an4/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj64gp706 dspic33fj128gp706
dspic33f ds70155c-page 70 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 80-pin tqfp 72 74 73 71 70 69 68 67 66 65 64 63 62 61 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 50 49 48 47 46 45 44 21 41 40 39 38 37 36 35 34 23 24 25 26 27 28 29 30 31 32 33 dspic33fj64gp708 17 18 19 75 1 57 56 55 54 53 52 51 60 59 58 43 42 76 78 77 79 22 80 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 csck/rg14 an23/cn23/ra7 an22/cn22/ra6 c2rx/rg0 c2tx/rg1 c1tx/rf1 c1rx/rf0 csdo/rg13 csdi/rg12 oc8/cn16/rd7 oc6/cn14/rd5 oc1/rd0 ic4/rd11 ic2/rd9 ic1/rd8 ic3/rd10 v ss osc1/clkin/rc12 v dd scl1/rg2 u1rx/rf2 u1tx/rf3 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/cn1/rc13 v ref +/ra10 v ref -/ra9 av dd av ss u2cts/an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2rx/cn17/rf4 ic8/u1rts/cn21/rd15 u2tx/cn18/rf5 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr ss2 /cn11/rg9 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 v ss v dd cofs/rg15 an16/t2ck/t7ck/rc1 tdo/an21/int2/re9 tms/an20/int1/re8 tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 v dd v ddcore oc5/cn13/rd4 ic6/cn19/rd13 sda1/rg3 sdi1/rf7 sdo1/rf8 an5/cn7/rb5 v ss osc2/clko/rc15 oc7/cn15/rd6 sck1/int0/rf6 ic7/u1cts/cn20/rd14 sda2/int4/ra15 scl2/int3/ra14 dspic33fj128gp708
? 2005 microchip technology inc. preliminary ds70155c-page 71 dspic33f pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 an26/re2 csdo/rg13 csdi/rg12 csck/rg14 an25/re1 an24/re0 rg0 an28/re4 an27/re3 rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 an29/re5 an30/re6 an31/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/int1/re8 an21/int2/re9 an5/cn7/rb5 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 rg1 rf1 oc8/cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj64gp310 dspic33fj128gp310 100
dspic33f ds70155c-page 72 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 an26/re2 csdo/rg13 csdi/rg12 csck/rg14 an25/re1 an24/re0 rg0 an28/re4 an27/re3 c1rx/rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 an29/re5 an30/re6 an31/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/int1/re8 an21/int2/re9 an5/cn7/rb5 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 rg1 c1tx/rf1 oc8/cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj256gp510 100
? 2005 microchip technology inc. preliminary ds70155c-page 73 dspic33f pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 an26/re2 csdo/rg13 csdi/rg12 csck/rg14 an25/re1 an24/re0 c2rx/rg0 an28/re4 an27/re3 c1rx/rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 an29/re5 an30/re6 an31/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/int1/re8 an21/int2/re9 an5/cn7/rb5 an4/cn6/rb4 an3/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 c2tx/rg1 c1tx/rf1 oc8/cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj128gp710 100 dspic33fj256gp710 dspic33fj64gp710
dspic33f ds70155c-page 74 preliminary ? 2005 microchip technology inc. appendix b: device i/o pinouts and functions for motor control family table b-1 provides a brief description of device i/o pinouts and the functions that may be multiplexed to a port pin. multiple functions may exist on one port pin. when multiplexing occurs, the peripheral module?s functional requirements may force an override of the data direction of the port pin. table b-1: pinout i/o descript ions for motor control family pin name pin type buffer type description an0-an23 i analog analog input channels. an0 and an1 are also used for device programming data and clock inputs, respectively. av dd p p positive supply for analog module. av ss p p ground reference for analog module. clki clko i o st/cmos ? external clock source input. always associated with osc1 pin function. oscillator crystal output. connects to crystal or resonator in crystal oscillator mode. optionally functions as clko in rc and ec modes. always associated with osc2 pin function. cn0-cn23 i st input change notification inputs. can be software programmed for internal weak pull-ups on all inputs. cofs csck csdi csdo i/o i/o i o st st st ? data converter interface frame synchronization pin. data converter interface serial clock input/output pin. data converter interface serial data input pin. data converter interface serial data output pin. c1rx c1tx c2rx c2tx i o i o st ? st ? can1 bus receive pin. can1 bus transmit pin. can2 bus receive pin. can2 bus transmit pin. pgd1/emud1 pgc1/emuc1 pgd2/emud2 pgc2/emuc2 pgd3/emud3 pgc3/emuc3 i/o i i/o i i/o i st st st st st st data i/o pin for programming/debugging communication channel 1. clock input pin for programming/debugging communication channel 1. data i/o pin for programming/debugging communication channel 2. clock input pin for programming/debugging communication channel 2. data i/o pin for programming/debugging communication channel 3. clock input pin for programming/debugging communication channel 3. ic1-ic8 i st capture inputs 1 through 8. indx qea qeb updn i i i o st st st cmos quadrature encoder index pulse input. quadrature encoder phase a input in qei mode. auxiliary timer external clock/gate input in timer mode. quadrature encoder phase a input in qei mode. auxiliary timer external clock/gate input in timer mode. position up/down counter direction state. int0 int1 int2 int3 int4 i i i i i st st st st st external interrupt 0. external interrupt 1. external interrupt 2. external interrupt 3. external interrupt 4. flta fltb pwm1l pwm1h pwm2l pwm2h pwm3l pwm3h pwm4l pwm4h i i o o o o o o o o st st ? ? ? ? ? ? ? ? pwm fault a input. pwm fault b input. pwm 1 low output. pwm 1 high output. pwm 2 low output. pwm 2 high output. pwm 3 low output. pwm 3 high output. pwm 4 low output. pwm 4 high output. legend: cmos = cmos compatible input or output; analog = analog input st = schmitt trigger input with cmos levels; o = output; i = input; p = power
? 2005 microchip technology inc. preliminary ds70155c-page 75 dspic33f mclr i/p st master clear (reset) input or programming voltage input. this pin is an active-low reset to the device. ocfa ocfb oc1-oc8 i i o st st ? compare fault a input (for compare channels 1, 2, 3 and 4). compare fault b input (for compare channels 5, 6, 7 and 8). compare outputs 1 through 8. osc1 osc2 i i/o st/cmos ? oscillator crystal input. st buffer when configured in rc mode; cmos otherwise. oscillator crystal output. connects to crystal or resonator in crystal oscillator mode. optionally functions as clko in rc and ec modes. ra0-ra7 ra9-ra10 ra12-ra15 i/o i/o i/o st st st porta is a bidirectional i/o port. rb0-rb15 i/o st portb is a bidirectional i/o port. rc1-rc4 rc12-rc15 i/o i/o st st portc is a bidirectional i/o port. rd0-rd15 i/o st portd is a bidirectional i/o port. re0-re9 i/o st porte is a bidirectional i/o port. rf0-rf8 rf12-rf13 i/o st portf is a bidirectional i/o port. rg0-rg3 rg6-rg9 rg12-rg15 i/o i/o i/o st st st portg is a bidirectional i/o port. sck1 sdi1 sdo1 ss1 sck2 sdi2 sdo2 ss2 i/o i o i i/o i o i st st ? st st st ? st synchronous serial clock input/output for spi1. spi1 data in. spi1 data out. spi1 slave synchronization. synchronous serial clock input/output for spi2. spi2 data in. spi2 data out. spi2 slave synchronization. scl1 sda1 scl2 sda2 i/o i/o i/o i/o st st st st synchronous serial clock input/output for i2c1. synchronous serial data input/output for i2c1. synchronous serial clock input/output for i2c2. synchronous serial data input/output for i2c2. sosci sosco i o st/cmos ? 32 khz low-power oscillator crystal input; cmos otherwise. 32 khz low-power oscillator crystal output. tms tck tdi tdo i i/o i o st st st ? jtag test mode select pin. jtag test clock input/output pin. jtag test data input pin. jtag test data output pin. t1ck t2ck t3ck t4ck t5ck t6ck t7ck t8ck t9ck i i i i i i i i i st st st st st st st st st timer1 external clock input. timer2 external clock input. timer3 external clock input. timer4 external clock input. timer5 external clock input. timer6 external clock input. timer7 external clock input. timer8 external clock input. timer9 external clock input. table b-1: pinout i/o descriptions for motor control family (continued) pin name pin type buffer type description legend: cmos = cmos compatible input or output; analog = analog input st = schmitt trigger input with cmos levels; o = output; i = input; p = power
dspic33f ds70155c-page 76 preliminary ? 2005 microchip technology inc. table b-2: dspic33f motor control family variants (devices marked ?ps?) u1cts u1rts u1rx u1tx u2cts u2rts u2rx u2tx i o i o i o i o st ? st ? st ? st ? uart1 clear to send. uart1 ready to send. uart1 receive. uart1 transmit. uart2 clear to send. uart2 ready to send. uart2 receive. uart2 transmit. v dd p ? positive supply for peripheral logic and i/o pins. v ddcore p ? cpu logic filter capacitor connection. v ss p ? ground reference for logic and i/o pins. v ref + i analog analog voltage reference (high) input. v ref - i analog analog voltage reference (low) input. table b-1: pinout i/o descriptions for motor control family (continued) pin name pin type buffer type description legend: cmos = cmos compatible input or output; analog = analog input st = schmitt trigger input with cmos levels; o = output; i = input; p = power device pins program flash memory (kb) ram (kb) (1) timer 16-bit input capture output compare std. pwm motor control pwm quadrature encoder interface codec interface a/d converter uart spi? i 2 c? can i/o pins (max) (2) packages 33fj128mc706 64 128 17 9 8 8 8 ch 1 0 2 a/d, 16 ch 222153 pt 33fj128mc708 80 128 17 9 8 8 8 ch 1 0 2 a/d, 18 ch 222169 pt 33fj256mc710 100 256 33 9 8 8 8 ch 1 0 2 a/d, 24 ch 222286 pf note 1: ram size is inclusive of 1 kb dma ram. 2: maximum i/o pin count includes pins shared by the peri pheral functions. note: prototype samples are intended for dspic33f early adopters and are based on early revision silicon. devices are marked with ?ps? suffix. major differences are note d in this data sheet. for additional information, please refer to the ?ds pic33f data sheet? .
? 2005 microchip technology inc. preliminary ds70155c-page 77 dspic33f pin diagrams 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 emuc1/sosco/t1ck/cn0/rc14 emud1/sosci/t4ck/cn1/rc13 emuc2/oc1/rd0 ic4/int4/rd11 ic2/fltb/int2/rd9 ic1/flta/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 emuc3/sck1/int0/rf6 u1rx/sdi1/rf2 emud3/u1tx/sdo1/rf3 pwm3h/re5 pwm4l/re6 pwm4h/re7 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 an1/v ref -/cn3/rb1 an0/v ref +/cn2/rb0 oc8/updn/cn16/rd7 pwm3l/re4 pwm2h/re3 pwm2l/re2 v ddcore pwm1l/re0 c1tx/rf1 pwm1h/re1 emud2/oc2/rd1 oc3/rd2 pgc/emuc/an6/ocfa/rb6 pgd/emud/an7/rb7 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v ss v dd an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/qeb/ic8/cn7/rb5 an4/qea/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj128mc706* *device is marked with ?ps? designator.
dspic33f ds70155c-page 78 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 80-pin tqfp 72 74 73 71 70 69 68 67 66 65 64 63 62 61 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 50 49 48 47 46 45 44 21 41 40 39 38 37 36 35 34 23 24 25 26 27 28 29 30 31 32 33 17 18 19 75 1 57 56 55 54 53 52 51 60 59 58 43 42 76 78 77 79 22 80 ic5/rd12 oc4/rd3 oc3/rd2 emud2/oc2/rd1 pwm2l/re2 pwm1h/re1 pwm1l/re0 crx2/rg0 c2tx/rg1 c1tx/rf1 c1rx/rf0 pwm3l/re4 pwm2h/re3 oc8/cn16/updn/rd7 oc6/cn14/rd5 emuc2/oc1/rd0 ic4/rd11 ic2/rd9 ic1/rd8 ic3/rd10 v ss osc1/clkin/rc12 v dd scl1/rg2 u1rx/rf2 emud3/u1tx/rf3 emuc1/sosco/t1ck/cn0/rc14 emud1/sosci/cn1/rc13 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2rx/cn17/rf4 ic8/cn21/rd15 u2tx/cn18/rf5 an6/ocfa/rb6 an7/rb7 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr ss2 /cn11/rg9 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc/emuc/an1/cn3/rb1 pgd/emud/an0/cn2/rb0 v ss v dd pwm3h/re5 pwm4l/re6 fltb/int2/re9 flta/int1/re8 an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 v dd v ddcore oc5/cn13/rd4 ic6/cn19/rd13 sda1/rg3 sdi1/rf7 sdo1/rf8 an5/qeb/cn7/rb5 v ss osc2/clko/rc15 oc7/cn15/rd6 emuc3/sck1/int0/rf6 ic7/cn20/rd14 sda2/int4/ra15 scl2/int3/ra14 dspic33fj128mc708* *device is marked with ?ps? designator.
? 2005 microchip technology inc. preliminary ds70155c-page 79 dspic33f pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 100 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 emud2/oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 pwm2l/re2 csdo/rg13 csdi/rg12 csck/rg14 pwm1h/re1 pwm1l/re0 c2rx/rg0 pwm3l/re4 pwm2h/re3 c1rx/rf0 v ddcore emud1/sosci/cn1/rc13 emuc2/oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 emuc3/sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 emud3/u1tx/rf3 v ss emuc1/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/cn20/rd14 ic8/cn21/rd15 v dd v ss an6/ocfa/rb6 an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 pwm3h/re5 pwm4l/re6 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd ra0 an20/flta/int1/ra12 an21/fltb/int2/ra13 an5/qeb/cn7/rb5 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc/emuc/an1/cn3/rb1 pgd/emud/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 c2tx/rg1 c1tx/rf1 oc8/updn//cn16/rd7 oc7/cn15/rd6 ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd ra4 ra1 100-pin tqfp dspic33fj256mc710* *device is marked with ?ps? designator.
dspic33f ds70155c-page 80 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/fltb/int2/rd9 ic1/flta/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 pwm3h/re5 pwm4l/re6 pwm4h/re7 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/updn/cn16/rd7 pwm3l/re4 pwm2h/re3 pwm2l/re2 v ddcore pwm1l/re0 c1tx/rf1 pwm1h/re1 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/cn18/rf5 u2rx / cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/qeb/ic8/cn7/rb5 an4/qea/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj64mc506
? 2005 microchip technology inc. preliminary ds70155c-page 81 dspic33f pin diagrams (continued) 64-pin tqfp 1 2 3 4 5 6 7 8 9 10 11 12 13 36 35 34 33 32 31 30 29 28 27 26 64 63 62 61 60 59 58 57 56 14 15 16 17 18 19 20 21 22 23 24 25 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/t4ck/cn1/rc13 oc1/rd0 ic4/int4/rd11 ic2/u1cts/fltb/int2/rd9 ic1/flta/int1/rd8 v ss osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 u1rts/sck1/int0/rf6 u1rx/sdi1/rf2 u1tx/sdo1/rf3 pwm3h/re5 pwm4l/re6 pwm4h/re7 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr v ss v dd an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/v ref -/cn3/rb1 pgd3/emud3/an0/v ref +/cn2/rb0 oc8/updn/cn16/rd7 pwm3l/re4 pwm2h/re3 pwm2l/re2 v ddcore pwm1l/re0 c1tx/rf1 pwm1h/re1 oc2/rd1 oc3/rd2 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 av dd av ss u2cts/an8/rb8 an9/rb9 tms/an10/rb10 tdo/an11/rb11 v ss v dd tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 u2tx/scl2/cn18/rf5 u2rx / sda2/cn17/rf4 sda1/rg3 43 42 41 40 39 38 37 44 48 47 46 50 49 51 54 53 52 55 45 ss2 /t5ck/cn11/rg9 an5/qeb/ic8/cn7/rb5 an4/qea/ic7/cn6/rb4 ic3/int3/rd10 v dd c1rx/rf0 oc4/rd3 oc7/cn15/rd6 oc6/ic6/cn14/rd5 oc5/ic5/cn13/rd4 dspic33fj128mc506 dspic33fj64mc506 dspic33fj128mc706
dspic33f ds70155c-page 82 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 80-pin tqfp 72 74 73 71 70 69 68 67 66 65 64 63 62 61 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 50 49 48 47 46 45 44 21 41 40 39 38 37 36 35 34 23 24 25 26 27 28 29 30 31 32 33 17 18 19 75 1 57 56 55 54 53 52 51 60 59 58 43 42 76 78 77 79 22 80 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 pwm2l/re2 pwm1h/re1 pwm1l/re0 crx2/rg0 c2tx/rg1 c1tx/rf1 c1rx/rf0 pwm3l/re4 pwm2h/re3 oc8/cn16/updn/rd7 oc6/cn14/rd5 oc1/rd0 ic4/rd11 ic2/rd9 ic1/rd8 ic3/rd10 v ss osc1/clkin/rc12 v dd scl1/rg2 u1rx/rf2 u1tx/rf3 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/cn1/rc13 v ref +/ra10 v ref -/ra9 av dd av ss u2cts/an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2rx/cn17/rf4 ic8/u1rts/cn21/rd15 u2tx/cn18/rf5 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr ss2 /cn11/rg9 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 v ss v dd pwm3h/re5 pwm4l/re6 tdo/fltb/int2/re9 tms/flta/int1/re8 tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 v dd v ddcore oc5/cn13/rd4 ic6/cn19/rd13 sda1/rg3 sdi1/rf7 sdo1/rf8 an5/qeb/cn7/rb5 v ss osc2/clko/rc15 oc7/cn15/rd6 sck1/int0/rf6 ic7/u1cts/cn20/rd14 int4/ra15 int3/ra14 dspic33fj64mc508
? 2005 microchip technology inc. preliminary ds70155c-page 83 dspic33f pin diagrams (continued) 80-pin tqfp 72 74 73 71 70 69 68 67 66 65 64 63 62 61 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 50 49 48 47 46 45 44 21 41 40 39 38 37 36 35 34 23 24 25 26 27 28 29 30 31 32 33 17 18 19 75 1 57 56 55 54 53 52 51 60 59 58 43 42 76 78 77 79 22 80 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 pwm2l/re2 pwm1h/re1 pwm1l/re0 crx2/rg0 c2tx/rg1 c1tx/rf1 c1rx/rf0 pwm3l/re4 pwm2h/re3 oc8/cn16/updn/rd7 oc6/cn14/rd5 oc1/rd0 ic4/rd11 ic2/rd9 ic1/rd8 ic3/rd10 v ss osc1/clkin/rc12 v dd scl1/rg2 u1rx/rf2 u1tx/rf3 pgc2/emuc2/sosco/t1ck/cn0/rc14 pgd2/emud2/sosci/cn1/rc13 v ref +/ra10 v ref -/ra9 av dd av ss u2cts/an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2rx/cn17/rf4 ic8/u1rts/cn21/rd15 u2tx/cn18/rf5 pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 sck2/cn8/rg6 sdi2/cn9/rg7 sdo2/cn10/rg8 mclr ss2 /cn11/rg9 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 v ss v dd pwm3h/re5 pwm4l/re6 tdo/fltb/int2/re9 tms/flta/int1/re8 tck/an12/rb12 tdi/an13/rb13 u2rts/an14/rb14 an15/ocfb/cn12/rb15 v dd v ddcore oc5/cn13/rd4 ic6/cn19/rd13 sda1/rg3 sdi1/rf7 sdo1/rf8 an5/qeb/cn7/rb5 v ss osc2/clko/rc15 oc7/cn15/rd6 sck1/int0/rf6 ic7/u1cts/cn20/rd14 sda2/int4/ra15 scl2/int3/ra14 dspic33fj128mc708
dspic33f ds70155c-page 84 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 100 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 pwm2l/re2 csdo/rg13 csdi/rg12 csck/rg14 pwm1h/re1 pwm1l/re0 rg0 pwm3l/re4 pwm2h/re3 c1rx/rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 ra3 ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 pwm3h/re5 pwm4l/re6 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/flta/int1/re8 an21/fltb/int2/re9 an5/qeb/cn7/rb5 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 rg1 c1tx/rf1 oc8/updn//cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj64mc510
? 2005 microchip technology inc. preliminary ds70155c-page 85 dspic33f pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 100 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 pwm2l/re2 csdo/rg13 csdi/rg12 csck/rg14 pwm1h/re1 pwm1l/re0 rg0 pwm3l/re4 pwm2h/re3 c1rx/rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 pwm3h/re5 pwm4l/re6 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/flta/int1/re8 an21/fltb/int2/re9 an5/qeb/cn7/rb5 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 rg1 c1tx/rf1 oc8/updn//cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj128mc510 dspic33fj256mc510
dspic33f ds70155c-page 86 preliminary ? 2005 microchip technology inc. pin diagrams (continued) 92 94 93 91 90 89 88 87 86 85 84 83 82 81 80 79 78 20 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 64 63 62 61 60 59 26 56 45 44 43 42 41 40 39 28 29 30 31 32 33 34 35 36 37 38 17 18 19 21 22 95 1 76 77 72 71 70 69 68 67 66 75 74 73 58 57 24 23 25 96 98 97 99 27 46 47 48 49 50 55 54 53 52 51 100 oc6/cn14/rd5 oc5/cn13/rd4 ic6/cn19/rd13 ic5/rd12 oc4/rd3 oc3/rd2 oc2/rd1 an23/cn23/ra7 an22/cn22/ra6 pwm2l/re2 csdo/rg13 csdi/rg12 csck/rg14 pwm1h/re1 pwm1l/re0 c2rx/rg0 pwm3l/re4 pwm2h/re3 c1rx/rf0 v ddcore pgd2/emud2/sosci/cn1/rc13 oc1/rd0 ic3/rd10 ic2/rd9 ic1/rd8 ic4/rd11 sda2/ra3 scl2/ra2 osc2/clko/rc15 osc1/clkin/rc12 v dd scl1/rg2 sck1/int0/rf6 sdi1/rf7 sdo1/rf8 sda1/rg3 u1rx/rf2 u1tx/rf3 v ss pgc2/emuc2/sosco/t1ck/cn0/rc14 v ref +/ra10 v ref -/ra9 av dd av ss an8/rb8 an9/rb9 an10/rb10 an11/rb11 v dd u2cts/rf12 u2rts/rf13 ic7/u1cts/cn20/rd14 ic8/u1rts/cn21/rd15 v dd v ss pgc1/emuc1/an6/ocfa/rb6 pgd1/emud1/an7/rb7 u2tx/cn18/rf5 u2rx/cn17/rf4 pwm3h/re5 pwm4l/re6 pwm4h/re7 an16/t2ck/t7ck/rc1 an17/t3ck/t6ck/rc2 an18/t4ck/t9ck/rc3 an19/t5ck/t8ck/rc4 sck2/cn8/rg6 v dd tms/ra0 an20/flta/int1/re8 an21/fltb/int2/re9 an5/qeb/cn7/rb5 an4/qea/cn6/rb4 an3/indx/cn5/rb3 an2/ss1 /lvdin/cn4/rb2 sdi2/cn9/rg7 sdo2/cn10/rg8 pgc3/emuc3/an1/cn3/rb1 pgd3/emud3/an0/cn2/rb0 cofs/rg15 v dd ss2 /cn11/rg9 mclr an12/rb12 an13/rb13 an14/rb14 an15/ocfb/cn12/rb15 c2tx/rg1 c1tx/rf1 oc8/updn//cn16/rd7 oc7/cn15/rd6 tdo/ra5 int4/ra15 int3/ra14 v ss v ss v ss v dd tdi/ra4 tck/ra1 100-pin tqfp dspic33fj64mc710 dspic33fj128mc710 dspic33fj256mc710
? 2005 microchip technology inc. preliminary ds70155c-page 87 dspic33f notes:
ds70155c-page 88 preliminary ? 2005 microchip technology inc. americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://support.microchip.com web address: www.microchip.com atlanta alpharetta, ga tel: 770-640-0034 fax: 770-640-0307 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit farmington hills, mi tel: 248-538-2250 fax: 248-538-2260 kokomo kokomo, in tel: 765-864-8360 fax: 765-864-8387 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 san jose mountain view, ca tel: 650-215-1444 fax: 650-961-0286 toronto mississauga, ontario, canada tel: 905-673-0699 fax: 905-673-6509 asia/pacific australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8528-2100 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8676-6200 fax: 86-28-8676-6599 china - fuzhou tel: 86-591-8750-3506 fax: 86-591-8750-3521 china - hong kong sar tel: 852-2401-1200 fax: 852-2401-3431 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8203-2660 fax: 86-755-8203-1760 china - shunde tel: 86-757-2839-5507 fax: 86-757-2839-5571 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xian tel: 86-29-8833-7250 fax: 86-29-8833-7256 asia/pacific india - bangalore tel: 91-80-2229-0061 fax: 91-80-2229-0062 india - new delhi tel: 91-11-5160-8631 fax: 91-11-5160-8632 india - pune tel: 91-20-2566-1512 fax: 91-20-2566-1513 japan - yokohama tel: 81-45-471- 6166 fax: 81-45-471-6122 korea - gumi tel: 82-54-473-4301 fax: 82-54-473-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - penang tel: 604-646-8870 fax: 604-646-5086 philippines - manila tel: 632-634-9065 fax: 632-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-572-9526 fax: 886-3-572-6459 taiwan - kaohsiung tel: 886-7-536-4818 fax: 886-7-536-4803 taiwan - taipei tel: 886-2-2500-6610 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - weis tel: 43-7242-2244-399 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 spain - madrid tel: 34-91-352-30-52 fax: 34-91-352-11-47 uk - wokingham tel: 44-118-921-5869 fax: 44-118-921-5820 w orldwide s ales and s ervice 08/24/05


▲Up To Search▲   

 
Price & Availability of DSPIC33FJ256GP306IPTES

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X